[Distutils] setuptools data_files and bdist_egg
P.J. Eby
pje at telecommunity.com
Thu Mar 18 16:09:44 CET 2010
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.)
More information about the Distutils-SIG
mailing list