[Python-Dev] Remove site-packages?!? [was: [Distutils] PEP 376 - from pythonpkgmgr's point of view]

John Szakmeister john at szakmeister.net
Tue Jul 21 11:44:03 CEST 2009


On Sun, Jul 19, 2009 at 7:13 PM, David Lyon<david.lyon at 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's why in pythonpkgmgr, we're moving to an entirely
> different place where there is no chance of conflict with
> the os package manager and python packages can be installed
> without su privelages.
[snip
> Under ubuntu, it seems to be /usr/local/pythonX.X/site-packages
> and I am checking other posix operating systems and trying to
> work out what the equivilents might be.

Perhaps I'm not reading what you're saying correctly.  Doesn't
/usr/local/pythonX.x/site-packages require su privileges to install?

FWIW, the equivalent of /usr/local/pythonX.x/site-packages on Mac OS X
seems to be /Library/Python/X.x/site-packages

-John


More information about the Python-Dev mailing list