4 ms·
Honest question. The package management ecosystem for Python is terrible, why would anyone want to use it for command line apps? Every time I've done that, eve
by sergiomattei 5y ago
Honest question. The package management ecosystem for Python is terrible, why would anyone want to use it for command line apps?
Every time I've done that, everything ends in disaster.
- stubish 5y agoIt works fine for pure Python applications. Especially if you use Python virtual environments to keep your application's dependencies isolated from the system-level installed libraries. An application is just a Python package or module, with a small stub stuck in $PATH that does the equivalent of 'python -m mystuf'. One of the nice benefits is users get to install things into $HOME if they don't want to pollute the 'system' install, even if they don't want to mess with the virtual environment features.
- sergiomattei 5y agoYou know what, that's actually quite true. I realize that it's good to make sure everyone on a team has access to the same command line tools as well. Just pip install the virtualenv and boom, cli tools in, for everyone.