Message346173
I have another idea, instead of baking in the semantics of the environmental variables, we could simply add the hooks __VENV_ACTIVATE_EXTRAS__ and __VENV_DEACTIVATE_EXTRAS__ to activate. By default they would be replaced by '', but would allow subclasses to extend the behavior of activate / deactivate arbitrarily.
> 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.
I'll take a stab at implementing this if the above proposal is not acceptable. |
|
Date |
User |
Action |
Args |
2019-06-20 22:09:43 | donovick | set | recipients:
+ donovick, brett.cannon, vinay.sajip |
2019-06-20 22:09:43 | donovick | set | messageid: <1561068583.74.0.915050699938.issue37349@roundup.psfhosted.org> |
2019-06-20 22:09:43 | donovick | link | issue37349 messages |
2019-06-20 22:09:43 | donovick | create | |
|