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 donovick
Date 2019-06-20.14:42:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561041760.57.0.828490070277.issue37349@roundup.psfhosted.org>
In-reply-to
Content
Currently EnvBuilder allows for a number of customizations of virtual environments, however, it does not allow for any modifications of the activate script itself (unless one wants to rewrite it completely).  Yet, it is fairly common requirement for python packages is to set some environmental variable e.g., DJANGO_SETTINGS_MODULE=<settings>.

EnvBuilder should be able extend the set of variables which are set and restored on activate / deactivate (or more generally have activate / deactivate hooks).

Originally proposed on python-ideas https://mail.python.org/archives/list/python-ideas@python.org/thread/MJNFEFT4GBVBEETJWZUQM5SS6C34PT3K/
History
Date User Action Args
2019-06-20 14:42:40donovicksetrecipients: + donovick
2019-06-20 14:42:40donovicksetmessageid: <1561041760.57.0.828490070277.issue37349@roundup.psfhosted.org>
2019-06-20 14:42:40donovicklinkissue37349 messages
2019-06-20 14:42:40donovickcreate