[Python-ideas] Draft PEP for virtualenv in the stdlib
Carl Meyer
carl at oddbird.net
Wed Oct 26 19:57:58 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/24/2011 12:21 PM, Carl Meyer wrote:
> If the ``env.cfg`` file also contains a key ``include-system-site``
> with a value of ``false`` (not case sensitive), the ``site`` module
> will omit the system site directories entirely. This allows the
> virtual environment to be entirely isolated from system site-packages.
I'd like to flip this default and make isolation be the default, with a
flag to enable the system site-packages.
The non-isolated default I borrowed from virtualenv without a great deal
of thought, but we have had requests to flip virtualenv's default, and
it seems that many current active virtualenv users (100% of those on the
mailing list who have replied) are in favor [1]. It's looking likely
that we will make that change in virtualenv; I think venv should do the
same. The primary use case for venv is isolation, so why not make it the
default?
Carl
[1]
http://groups.google.com/group/python-virtualenv/browse_frm/thread/57e11efac3743149
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6oSiYACgkQ8W4rlRKtE2cR6QCeN0Hkuqgjr9kq1HcBp/hl8i26
bYoAn3RorDvJukjcm8OomdjaThUfzXbo
=RGNB
-----END PGP SIGNATURE-----
More information about the Python-ideas
mailing list