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 PyAcrisel
Recipients PyAcrisel, vinay.sajip
Date 2017-07-15.04:28:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CADUHwURaQeQp8b12jte1tWpaQcAsC1vjerCBWwAtjP2G4AKm_w@mail.gmail.com>
In-reply-to <1500074050.59.0.649596803717.issue30842@psf.upfronthosting.co.za>
Content
Thank you so much for considering this.

Both windows and linux based systems provides mechanisms to be dynamic and
relative to the path.

I wish there would be a way to add such behavior to Python development
manifesto and to check in pypi that packages are aligned

*Arnon Sela*
214-205-2151 <%2B1-214-205-2151>
arnon@acrisel.com
www.acrisel.com

IT Solutions and Ab Initio Experts
--
Notice: from Acrisel: If received in error, please destroy and notify
sender, and make no further use, disclosure, or distribution. This email
(including attachments) may contain information subject to confidentiality
obligations, and sender does not waive confidentiality or privilege.

On Fri, Jul 14, 2017 at 6:14 PM, Vinay Sajip <report@bugs.python.org> wrote:

>
> 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 <report@bugs.python.org>
> <http://bugs.python.org/issue30842>
> _______________________________________
>
History
Date User Action Args
2017-07-15 04:28:48PyAcriselsetrecipients: + PyAcrisel, vinay.sajip
2017-07-15 04:28:48PyAcrisellinkissue30842 messages
2017-07-15 04:28:47PyAcriselcreate