[Distutils] Req: easy_install.py --site-dirs

Phillip J. Eby pje at telecommunity.com
Sat Jul 16 23:58:48 CEST 2005

Okay, I've checked in a preliminary version of --site-dirs support in the 
Python CVS HEAD of nondist/sandbox/setuptools; why don't you give that a 
try?  It may be a few hours before it's available for anonymous checkout, 
however, as Sourceforge only updates their anoncvs snapshots every six 
hours or so, IIRC.  If you have Python developer privileges, you can get it 
sooner than that.

At 12:34 PM 7/16/2005 -0700, Robert Kern wrote:
>I tried doing a bit of EasyInstall evangelism, and apparently, the
>Kool-Aid isn't quite sweet enough yet.  ;-)
>I got feedback from someone trying the very first example with SQLObject
>in the documentation. He is using Debian Linux and thus does not install
>anything that's not from a .deb into /usr/lib. User-installed Python
>packages need to go into /usr/local/lib/python2.x/site-packages. To
>encourage this, Debian's site.py is patched to add that to the list of
>.pth-enabled directories. I imagine that similarly conscientious/anal
>distributions do likewise.
>My friend is a bit more conservative than that, even. He manages
>/usr/local using GNU Stow so he can make installations as non-root. This
>is very important to him. He's even willing to use tricky .pth hacks[1]
>to permit this.
>Fortunately, all of his technical concerns can be addressed by adding
>[1] As documented here:
>Robert Kern
>rkern at ucsd.edu
>"In the fields of hell where the grass grows high
>   Are the graves of dreams allowed to die."
>    -- Richard Harter
>Distutils-SIG maillist  -  Distutils-SIG at python.org

More information about the Distutils-SIG mailing list