Relocatable python install

Michel michel.metzger at
Wed Apr 14 16:50:07 EDT 2010


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?



More information about the Python-list mailing list