Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


Or you can make a symlink from your PATH, which is how Pipx does it.


But this is true for anything that isn't statically linked?


Why would static linking be necessary? The virtual environment contains all the needed dependencies, and isolates them from everything else.


ah, right!




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: