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:
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.
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 /var/lib/ python- support/ python2. 5
[easy_install]
site-dirs=
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.