logoalt Hacker News

tdeckyesterday at 7:20 AM3 repliesview on HN

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

Replies

zahlmanyesterday at 1:55 PM

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

timcobbyesterday at 11:53 AM

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

show 1 reply
kalaksiyesterday at 8:50 AM

ah, right!