New submission from Caleb Donovick <donov...@cs.stanford.edu>:
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-id...@python.org/thread/MJNFEFT4GBVBEETJWZUQM5SS6C34PT3K/ ---------- components: Interpreter Core messages: 346122 nosy: donovick priority: normal severity: normal status: open title: venv.EnvBuilder environmental variable hooks type: enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37349> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com