[issue15417] Add support for csh and fish in venv activation scripts

Vinay Sajip report at bugs.python.org
Mon Jul 23 18:37:12 CEST 2012


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

> inherit from `venv.EnvBuilder` and override `setup_scripts` method
> pointing to new directory with desired activators as `path` parameter
> for `self.install_scripts(...)`.

Yes, that's it. A third party tool would potentially do more than just custom scripts, and would presumably have its own command line parameters and handling code, reflecting the features it offers.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15417>
_______________________________________


More information about the Python-bugs-list mailing list