Comment 27 for bug 254035

Revision history for this message
Zooko Wilcox-O'Hearn (zooko) wrote :

Okay if you add "--site-dirs=/var/lib/python-support/python2.5" then this fixes this problem for both Nevow and simplejson on Hardy. PJE is investigating fixing this in a future release of setuptools.

In the meantime, he suggests that it might be a good fix for Debian/Ubuntu to add the following to the system-wide distutils.cfg file:

zooko@deharo2:~$ cat /usr/lib/python2.5/distutils/distutils.cfg
[easy_install]
site-dirs=/var/lib/python-support/python2.5

I've tested this on my Hardy box and it does indeed cause "easy_install" to do the right thing even without the "--site-dirs=/var/lib/python-support/python2.5" option on the command-line.