Relocatable python install

Michel michel.metzger at gmail.com
Wed Apr 14 22:50:07 CEST 2010


Hi,

I would like to create a binary package of python that we will ship
with our product. I need to be able to install the package anywhere in
the file system.

The interpreter seems to be ok with that, but a few other tools that
are installed in the PREFIX/bin directory (pydoc, py2to3, python-
config,...) contain hardcoded path to the interpreter.

Is there a way around that? Or an configure option to prevent these
files to be installed?

Regards,

Michel.



More information about the Python-list mailing list