[Distutils] Req: easy_install.py --site-dirs
Bob Ippolito
bob at redivi.com
Sun Jul 17 07:30:13 CEST 2005
On Jul 16, 2005, at 6:17 PM, Phillip J. Eby wrote:
> At 09:01 PM 7/16/2005 -0700, Robert Kern wrote:
>
>> Phillip J. Eby wrote:
>>
>>> 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.
>>>
>>
>> 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.
addsitedir is not a built-in, that's what he means.
-bob
More information about the Distutils-SIG
mailing list