Vinay Sajip added the comment:

This seems reasonable, but scripts written to venvs by e.g. pip hard-code the 
path to the venv, and this is a stumbling block to relocatability. There is no 
reason to use the activate scripts except under interactive use - a script 
installed in a venv should be directly runnable from its bin directory, but 
that currently won't work if the venv is moved to a new location.

Outside of Python I maintain the distlib library which pip uses under the 
covers to write installed scripts, and I will try to consider a solution which 
solves the wider problem.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30842>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to