-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Szakmeister wrote: > On Sun, Jul 19, 2009 at 7:13 PM, David Lyon<david.l...@preisshare.net> wrote: > [snip] >> The main problem imho has been that easy_install by default >> has installed to /usr/lib/pythonX.X/site-packages when in >> fact that really is an operating system controlled directory. >> >> So naughty naughty to setuptools.... > > I've witnessed this a few times... and I completely agree with that > statement. :-)
That behvior isn't setuptools' fault: it is the behavior of *any* distutils-derived app. "OS controlled directory" is not a concept which the distutils honors at all: $prefix/lib/pytoonX.Y/site-packages is the *intended* installation location for any modules not shipped with Python. Consider the case where the user has built a separate python (e.g., to avoid conflicting with the OS version) in /opt/PythonX.y: are you actually saying that distutils / setuptools should somehow know the difference betweeen /usr/lib/pythonX.y/site-packages and /opt/PythonX.Y/lib/pythonX.Y/site-packages? Or are you asserting that it is somehow invalid for distutils / setuptools to install things into /opt/PythonX.Y/lib/pythonX.y/site-packages, which is certainly not an "OS controlled directory." Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKZf3V+gerLs4ltQ4RAud7AJ9GG9NY4UaKpQ5bBIQ+N6tztPVJSgCdEEIa DUugfdzvBYgPtaas9c+fTTg= =gvLY -----END PGP SIGNATURE----- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com