Message346122
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/ |
|
Date |
User |
Action |
Args |
2019-06-20 14:42:40 | donovick | set | recipients:
+ donovick |
2019-06-20 14:42:40 | donovick | set | messageid: <1561041760.57.0.828490070277.issue37349@roundup.psfhosted.org> |
2019-06-20 14:42:40 | donovick | link | issue37349 messages |
2019-06-20 14:42:40 | donovick | create | |
|