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 donovick
Recipients brett.cannon, donovick, vinay.sajip
Date 2019-06-20.22:09:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561068583.74.0.915050699938.issue37349@roundup.psfhosted.org>
In-reply-to
Content
I have another idea, instead of baking in the semantics of the environmental variables, we could simply add the hooks __VENV_ACTIVATE_EXTRAS__ and __VENV_DEACTIVATE_EXTRAS__ to activate. By default they would be replaced by '', but would allow subclasses to extend the behavior of activate / deactivate arbitrarily. 

> One thing I would consider is the ability to configure a custom_script_path in the same way as other parameters are now. It would be used as follows: If not None, it should specify a directory, and the files in there would be copied to the target venv *after* the standard scripts are copied (possibly overwriting ones already there, such as "activate"), with the same variable substitutions that are currently done.

I'll take a stab at implementing this if the above proposal is not acceptable.
History
Date User Action Args
2019-06-20 22:09:43donovicksetrecipients: + donovick, brett.cannon, vinay.sajip
2019-06-20 22:09:43donovicksetmessageid: <1561068583.74.0.915050699938.issue37349@roundup.psfhosted.org>
2019-06-20 22:09:43donovicklinkissue37349 messages
2019-06-20 22:09:43donovickcreate