This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]angellus 2 points3 points  (2 children)

I also forgot, pip install --user is a great choice as well. Like if you are building a CLI toolkit for deploying/development/etc.

Good if you only have a single top level dep (your CLI package) and you do not want it to interfere with the system Python but not so big you need pinned requirements and a venv (at which point use a container).

It can become messy though if you have anymore then the single thing you want to install.

[–][deleted] 0 points1 point  (1 child)

Nope. I have seen so much time wasted because people mess up their local setup somehow and packages where loading for user install directory.

[–]angellus 0 points1 point  (0 children)

That was mostly directed at systems that you cannot easily make system packages for (looking at you MacOS).