[Python-Dev] draft PEP: virtual environments (original) (raw)

Carl Meyer carl at oddbird.net
Wed Nov 9 01:57:49 CET 2011


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

On 11/08/2011 05:43 PM, Nick Coghlan wrote:

I'm actually finding I quite like the virtualenv scheme of having "sys.prefix" refer to the virtual environment and "sys.realprefix" refer to the interpeter's default environment. If pyvenv used the same naming scheme, then a lot of code designed to work with virtualenv would probably "just work" with pyvenv as well.

Indeed. I've already been convinced (see my reply to Chris McDonough earlier) that this is the more practical approach. I've already updated my copy of the PEP on Bitbucket (https://bitbucket.org/carljm/python-peps/src/0936d8e00e5b/pep-0404.txt) to reflect this switch, working (slowly) on an update of the reference implementation.

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

iEYEARECAAYFAk650A0ACgkQ8W4rlRKtE2cYuACgk5oRU54R+w4jHAynvW/QAxNU mQQAoI0zM4wzpPdOa0RIvEuAkUCmm+jT =RMyV -----END PGP SIGNATURE-----



More information about the Python-Dev mailing list