[Distutils] Installing config files into specific directories, even with setuptools?
David Laban
alsuren at gmail.com
Mon Aug 10 22:49:49 CEST 2009
Basically, I can install files into:
$HOME/.local/share/dbus-1/services
or
/usr/local/share/dbus-1/services
or
/usr/share/dbus-1/services
(or anywhere in xdg.BaseDirectory.xdg_data_dirs really)
but I want to pick the most appropriate place, taking into account the
--prefix option to setup.py, or the root of the virtualenv/whatever.
What is the most portable way to to this?
David.
More information about the Distutils-SIG
mailing list