[issue37349] venv.EnvBuilder environmental variable hooks

Vinay Sajip report at bugs.python.org
Thu Jun 20 13:12:55 EDT 2019


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

I'm not very keen on this approach, because it needs to be implemented across all shells and maintenance in this area can be a headache because not everyone has knowledge of multiple shells.

There already are hooks for customising behaviour - you can subclass EnvBuilder and override e.g. setup_scripts to update the venv with the exact scripts you want. This puts the maintenance cost onto the people who need this functionality (it doesn't seem like a very common use case).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37349>
_______________________________________


More information about the Python-bugs-list mailing list