[pylucene-dev] Re: "make install" to a specific destination
janssen at parc.com
Fri Sep 26 10:23:00 PDT 2008
Andi Vajda <vajda at osafoundation.org> wrote:
> Hence you can pass --prefix, --root and --install-dir along with --install.
Well, --prefix is what I want, but setuptools is too clever for me:
% python setup.py install --prefix=/tmp
Checking .pth file support in /tmp/lib/python2.5/site-packages/
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
[Errno 2] No such file or directory: '/tmp/lib/python2.5/site-packages/test-easy-install-63634.pth'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
This directory does not currently exist. Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
The fix is to (a) make the directory first, and (b) set the PYTHONPATH
to point to it.
More information about the pylucene-dev