Comment 5 for bug 219489

Revision history for this message
John A Meinel (jameinel) wrote :

What happens if you use:

python setup.py install --prefix=XXXX
rather than
install --home=XXXX
?

On this machine it changes the install layout. I'm not sure if that is sufficient for what you need.

As near as I can tell, neither 'python setup.py install --prefix' or '--home' will set up any custom paths for you (which is unfortunate.) I believe this is just a bug in Python itself. That it cannot install to a custom location *and* configure the search path so that scripts will have the libraries in their default search path.

The only way *I* see around this is to not use python's disutils or setuptools, but to have a completely separate installation mechanism. Which I don't think we'll do.

Does any other program that uses disutils work automatically when installed into a custom location? If so, I'd be happy to inspect their setup.py to figure out how to do the same.