Comment 25 for bug 238658

Revision history for this message
Jean-Paul Calderone (exarkun) wrote :

One problem this introduces for me is that it breaks `setup.py install --prefix ...´. This makes it harder to test pyOpenSSL (and it's already too hard, I need to start making it easier).

Is there some way to prevent this from happening?

exarkun@boson:~/Projects/pyOpenSSL/trunk$ python setup.py install --prefix /tmp/testing
running install
Checking .pth file support in /tmp/testing/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
installation directory:

    [Errno 2] No such file or directory: '/tmp/testing/lib/python2.5/site-packages/test-easy-install-3426.pth'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /tmp/testing/lib/python2.5/site-packages/

This directory does not currently exist. Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).