On Thu, Nov 10, 2005 at 08:09:47AM -0800, Phillip J. Eby wrote: > under the --site-dirs option for an explanation of how to set up an > alternate installation location. If you follow those directions and > then install again, you should end up with two more files: > setuptools.pth and easy_install.pth, and Python should actually > recognize the directory then.
This was exactly what I needed to make it work :) One strange thing is that my ~/.pydistutils.cfg has been looking like this all the time: [install] install_lib = /usr/local/lib/python$py_version_short/site-packages [easy_install] site_dirs=/usr/local/lib/python$py_version_short/site-packages I guess --site-dirs is the same as site_dirs being set in the file? > to the distutils.cfg file as described in the instructions, in addition > to the site_dirs setting. I just noticed that neither python2.3 or python2.4 in Debian include a distutils.cfg file. It sounds like a bug to me, so I will try to contact the package maintainer and get him to add it (since the /usr/local/lib/python*/site-packages dir is created by the package). I will add some info about this to http://trac.turbogears.org/turbogears/wiki/SystemInstall so other Debian user won't run into the same trouble. -- Med venlig hilsen Martin Skøtt

