ValdonVitija/crap

Global installation

Opened this issue · 1 comments

Would you recommend for or against global installation? i.e. pipx

No and since this tool only saves drive space & will sometimes remove packages that actually are being used, I wouldn't recommend using it everywhere anyhow. This is a cool, but probably "dangerous to use at work" hacking project.

I haven't tried, but pipx will put the tool into its own venv. So if you ran it it would only clean up the venv where pipx put crap. It would not have any effect on othe venvs.

The rule of thumb is, if a tool needs a live import of a module, then it needs to be installed in the same venv. So black is pipx installable, but mypy is not.