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

Robert Kern rkern at ucsd.edu
Sun Jul 17 06:22:55 CEST 2005

Phillip J. Eby wrote:
> At 09:01 PM 7/16/2005 -0700, Robert Kern wrote:

>>Ah, now that's service! It works fine for me. I would suggest changing
>>the altinstall.pth example, though. Python doesn't seem to like
>>   addsitedir('/Users/kern/lib/python2.4')
>>Although it will be just happy with
>>   import site; site.addsitedir('/Users/kern/lib/python2.4')
> Um, the example I put in the EasyInstall doc for --site-dirs was:
>          import os; addsitedir(os.path.expanduser('~/lib/python2.3'))
> So I'm not sure what you mean here.

Eventually someone is going to want to do


which won't work. The explicit "import site" encourages people not to 
tread that path.

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

More information about the Distutils-SIG mailing list