[Python-ideas] Draft PEP for virtualenv in the stdlib

Barry Warsaw barry at python.org
Wed Oct 26 03:48:41 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Oct 25, 2011, at 07:21 PM, Carl Meyer wrote:

>As it currently stands, this is really just the/a _prefix_ under which
>site-packages is found (parallel to how sys.prefix is currently used).
>Which means "site-packages" vs "dist-packages" is still determined in
>site.py, which tacks platform-specific paths onto the end of the prefix
>in order to find the actual site-packages directory. So in the Debian
>case, you'd still have to modify your distributed site.py (and take a
>bit of care, assisted by the tests, that you don't break venv.py in the
>process); I don't think this PEP really changes that much.
>
>(Though the fact that not breaking virtual environments when you make
>distro-specific modifications to site.py becomes your responsibility as
>the distro Python maintainer rather than mine as virtualenv maintainer
>is, in my humble opinion, one of the greatest advantages of this PEP <wink>)

Yes, fair enough! :)

- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOp2b5AAoJEBJutWOnSwa/irAQAMN+ZtkWAVRdcs9XosYyWsaT
gs/BiAMJ2pob0WZ+U0/8BDM5/uz7UYoPqzmn6EzDKKA+ezhJ8UNYwWTkQoUpuQK3
OqTAA06qJ3oVR+BYoC8kzriTWNxuJ6jCdJbRrK8PXTz3FBdhw720mHO1A5k3ZmEA
2HebsbO7X11iU5JyNV4+K98DzUna/RnLvT3RUm8NPjUpBIS5QHhnVpmFEHrEy1F0
QnyZXbY7UqpUxXtBY6Q1sHoERRmZ2EZOeHwzBMC0iUcig3Pmps+taxHqXxhPh72F
cNSt76K/ceHlNQrB8pBKQnP2FUn5KrZ8ut+LNHQmP6LYSZ/2r0kExbbqzF7xIxce
ACfIl1H/ezzA7KK29WlKMgqMU6K/OL2pcdtZry35wKCA1RIghpds44iEV26yqWPK
EY428lmWrkPZ2YGsfGyrm5E5vOzWEmcp7ze9FY34vgiphMzAkl1opCqKRffSc+ci
dzmmjAOot+J6jVX0zAPqwI03Uys8/HJZwY8kK5VyKJon5EVI5FI9C/gqBDwR/2vP
QZzdnlswwgGSz9xclzOhPW66lCZ5duNC115evNBQ030zoQRnGNICc+SNRB2GYY2v
gzutj9KT2sB+HuvQagQfk8zuLs5pCSd9jLxXb5JPxLb8NCJsxHG8LrZfm+HiVD58
QOUkGdfxEDv76AD4f6mu
=psL3
-----END PGP SIGNATURE-----


More information about the Python-ideas mailing list