At 03:47 PM 3/18/2010 +0100, Alain Leufroy wrote:
Is there a way to force easy_install to use <sys.prefix> as the prefix for
relative data file paths ?

You can use easy_install -e to download and unpack the source for the thing you want to install, then use "setup.py install --single-version-externally-managed". This will not use the .egg installation format, and thus allows things to be installed to places other than a single lib dir and bin dir.

Alternatively, you could perhaps use pip, which automates a process very similar to that. (I'm not sure if it really supports this or not, but you could read the docs or try it out.)
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to