[Python-Dev] draft PEP: virtual environments
Antoine Pitrou
solipsis at pitrou.net
Sun Oct 30 13:28:37 CET 2011
On Sun, 30 Oct 2011 12:10:18 +0000 (UTC)
Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:
>
> > We already have Unix shell scripts and BAT files in the source tree. Is
> > it really complicated to maintain these additional shell scripts? Is
> > there a lot of code in them?
>
> No, they're pretty small: wc -l gives
>
> 76 posix/activate (Bash script, contains deactivate() function)
> 31 nt/activate.bat
> 17 nt/deactivate.bat
>
> The question is whether we should stop at that, or whether there should be
> support for tcsh, fish etc. such as virtualenv provides.
I don't think we need additional support for more or less obscure
shells.
Also, if posix/activate is sufficiently well written (don't ask me
how :-)), it should presumably be compatible with all Unix shells?
Regards
Antoine.
More information about the Python-Dev
mailing list