[Distutils] setuptools: site_dirs
Ian Bicking
ianb at colorstudy.com
Wed Sep 21 05:52:43 CEST 2005
Robert Kern wrote:
> Ian Bicking wrote:
>
>>With easy_install I can specify --site-dirs to make it setup package
>>with .pth files. But with setuptools alone I can't, particularly
>>"python setup.py develop". I'm not sure if there's a setting in
>>distutils.cfg I could use...? There doesn't seem to be any appropriate
>>command-line option.
>>
>>I'm also not sure how the site directories are identified...? In this
>>case, on Debian, /usr/local/lib/pythonX.Y/site-packages isn't recognized
>>as such a directory, even after I added it with site.addsitedir in
>>sitecustomize.
>
>
> On Debian that directory is added to the list of site directories in
> site.addsitepackages(), which is automatically executed through
> site.main(). If it's not working on your machine, then I think it's a
> problem with your particular configuration.
That's what I figured. But it's working -- setuptools just doesn't know
that it's working, and so it doesn't create .pth files.
More information about the Distutils-SIG
mailing list