Hello,
I've created an extension for distutils which reads D-Bus *.service.in files,
replaces macros in these files (e.g. @bindir@) and copies them to the
appropriate location (e. g. /usr/share/dbus-1/services/ or
$HOME/.local/share/dbus-1/services in user-mode).
I couldn't find much useful
Bare distutils characterizes these as data files (*not* package
data). There's some documentation on that, but I'm not sure that any
sort of transformation is supported for them.
Specialized commands may need to be inserted to handle those cases cleanly.
-Fred
--
Fred L. Drake, Jr.