[Distutils] setuptools: site_dirs
Robert Kern
rkern at ucsd.edu
Wed Sep 21 05:38:41 CEST 2005
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.
--
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