Hi,

If my understanding is correct, the sys.prefix variable holds the root
directory python uses to find related files, and eg its site-packages.

the value of sys.prefix is specified at compile time.

it seems that on windows, when I build/install python at one location,
and
later move it to another location, python will find all its needs
relative to the new location.

however, when I do the same on linux, python keeps looking for
its dependencies in the build location.

is there a possibility to have it always look at a position relative
to the location of the executable ?  the goal is to be able to build
python on one machine, and then simply copy the build tree to
other machines at other locations.

Thank you and regards,

Erik
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to