Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

> Is there an architecture that would be less objectionable?

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.

This approach allows for other things than just custom environment variable 
setting, and so it seems a more generic solution to the issue of 
customisability. While it involves the developers who require such 
functionality to maintain those scripts, it seems fair to place the onus on 
them, and not on stdlib maintainers.

----------

_______________________________________
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

Reply via email to