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-14.12:33:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500035632.53.0.753296756719.issue30842@psf.upfronthosting.co.za>
In-reply-to
Content
Additional information:

This suggestion will make pyenv much better. 

To emphasize the need, there are many places that due to security you cannot build virtualenv.  Rather you have to push a virtualenv with your python code. Often enough, you also don't have control on where the code will be stationed on the installation server.  Hence the mobility of virtualenv is important for Python code to be migratable.  Many times I find myself and other edit activate shell scripts correcting their path to a relative one.

In fact, virtualenv has --relocatable flag but it doesn't do anything to the batch and shell activate files.  Python programs in Scripts, however, are already built with a relative path.  There is no reason not to do that to the shell and batch programs.

The only thing is that there will need to be more particular shell activate scripts (tcsh, ksh, csh, etc) as they may have different characteristics for relativity.

Progress is not defined by how things are, but how they can be.
History
Date User Action Args
2017-07-14 12:33:52PyAcriselsetrecipients: + PyAcrisel, vinay.sajip
2017-07-14 12:33:52PyAcriselsetmessageid: <1500035632.53.0.753296756719.issue30842@psf.upfronthosting.co.za>
2017-07-14 12:33:52PyAcrisellinkissue30842 messages
2017-07-14 12:33:52PyAcriselcreate