
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.