This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients PyAcrisel, vinay.sajip
Date 2017-07-14.23:14:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500074050.59.0.649596803717.issue30842@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-07-14 23:14:10vinay.sajipsetrecipients: + vinay.sajip, PyAcrisel
2017-07-14 23:14:10vinay.sajipsetmessageid: <1500074050.59.0.649596803717.issue30842@psf.upfronthosting.co.za>
2017-07-14 23:14:10vinay.sajiplinkissue30842 messages
2017-07-14 23:14:10vinay.sajipcreate