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.
Unfortunately this process is not convenient with dependancy which have data files too. I'm trying to build eggs in order to simplify the user install process, so this process is not convenient with dependancy which have data files too.
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.)
It's exactly what I've been looking for (and much more) !