Open nbro opened 2 weeks ago
You can use pipx
My point is that I shouldn't need to use any Python package manager (pip, pipx, pip-tools, poetry, whatever) to make the VSCode extension work. We should just need maybe Python and that's it. So, the Python package should be installed automatically, in some virtual environment, whenever we install the VSCode extension, and it should be removed automatically, along with the virtual environment, whenever we remove the extension
Under the hood, the VSCode extension
djlint
should take care of installingdjlint
with pip or whatever in an isolated environment, which should be removed whenever we remove the extension. I shouldn't need to add this dependency to mypyproject.toml
(with poetry) just to make the VSCode extension work.