[Python-Dev] draft PEP: virtual environments

Carl Meyer carl at oddbird.net
Mon Oct 31 21:10:11 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/31/2011 10:28 AM, Paul Moore wrote:
> On 31 October 2011 16:08, Tres Seaver <tseaver at palladion.com> wrote:
>> On 10/31/2011 11:50 AM, Carl Meyer wrote:
>>
>>> I have no problem including the basic posix/nt activate scripts if
>>> no one else is concerned about the added maintenance burden there.
>>>
>>> I'm not sure that my cross-shell-scripting fu is sufficient to
>>> write posix/activate in a cross-shell-compatible way; I use bash
>>> and am not very familiar with other shells. If it runs under
>>> /bin/sh is that sufficient to make it compatible with "all Unix
>>> shells" (for some definition of "all")? If so, I can work on this.
>>
>>
>> I would say this is a perfect "opportunity to delegate," in this case
>> to the devotees of other cults^Wshells than bash.

Good call - we'll stick with what we've got until such devotees show up :-)

Hey devotees, if you're listening, this is what you want to test/port:
https://bitbucket.org/vinay.sajip/pythonv/src/6d057cfaaf53/Lib/venv/scripts/posix/activate

For reference, here's what virtualenv ships with (includes a .fish and
.csh script):
https://github.com/pypa/virtualenv/tree/develop/virtualenv_support

> For Windows, can you point me at the nt scripts? If they aren't too
> complex, I'd be willing to port to Powershell.

Thanks! They are here:
https://bitbucket.org/vinay.sajip/pythonv/src/6d057cfaaf53/Lib/venv/scripts/nt

Carl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6vAKMACgkQ8W4rlRKtE2eEfwCgtpzQtUktUSU8ZyDDeqjD0yEe
QXgAoLoCD8EQ74jHR1lWPFjgnwQFkM46
=6+Rn
-----END PGP SIGNATURE-----


More information about the Python-Dev mailing list