On Dec 22, 2016, at 11:15 PM, Nick Coghlan
On 22 December 2016 at 09:08, Chris Barker
mailto:email@example.com> wrote: And there are utilities that let you run a script in a given environment:
(and maybe others)
https://pypi.python.org/pypi/pipsi https://pypi.python.org/pypi/pipsi (pip Script Installer) creates a dedicated venv for the module and its dependencies, and then adds symlinks from ~/.local/bin to any scripts installed into the venv's bin directory. As Armin notes in the README, it's a really nice way to handle utilities that happen to be written in Python and published via PyPI, without having them impact any other aspect of your system.
I just wanted to echo that this is a great tool, and it teaches really good habits (i.e. don't install your general-purpose python tools into project-specific virtual environments). -glyph