3 ms·
But then all the tool's dependencies have to play nice with the dependencies of all your other unrelated Python-based tools. One thing you can do (I'm not sayi
by tdeck 1y ago
But then all the tool's dependencies have to play nice with the dependencies of all your other unrelated Python-based tools.
One thing you can do (I'm not saying it's user friendly) is set up the tool in a virtualenv and then set up an alias like
alias foo-tool=/home/blah blah/tools/something/env/bin/python -m foo-tool
- kalaksi 1y agoah, right!
- timcobb 1y agoBut this is true for anything that isn't statically linked?
- zahlman 1y agoWhy would static linking be necessary? The virtual environment contains all the needed dependencies, and isolates them from everything else.
- zahlman 1y agoOr you can make a symlink from your PATH, which is how Pipx does it.