Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global installation #7

Open
wd60622 opened this issue Dec 30, 2023 · 1 comment
Open

Global installation #7

wd60622 opened this issue Dec 30, 2023 · 1 comment

Comments

@wd60622
Copy link

wd60622 commented Dec 30, 2023

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

@matthewdeanmartin
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants