[Distutils] zc.buildout and site-packages
Tres Seaver
tseaver at palladion.com
Thu Oct 22 19:43:08 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Aspeli wrote:
> Hi,
>
> Is there a way (apart from putting buildout in a virtualenv with --no-site-
> packages) to tell buildout *not* to put site-packages as the first line in the
> mangled sys.path when it generates scripts?
>
> We have people doing horrid things to their global python, and we need the
> buildout to be safe and isolated in these environments.
Using a --no-site-packages virtualenv to drive the buildout is a pretty
lightweight solution, and easier than the old standby of compiling your
own Python to get isolation from the global one, whichstill highly
recommended: I build my own Python, and then use a separate virtualenv
for each project.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkrgmawACgkQ+gerLs4ltQ5UWACg3RC0QZgyLZ4cBs7+SMhRar6N
NvkAnimlAvY7nVfoWBnwxd9ZHIT+lgrO
=V4IK
-----END PGP SIGNATURE-----
More information about the Distutils-SIG
mailing list