[Distutils] Files under /etc and /usr/share
Ian Bicking
ianb at colorstudy.com
Mon Sep 19 03:09:35 CEST 2005
I haven't followed this discussion in detail, but I think I've started
doing something like what Vincenzo asked about. It's not very general,
though. In my case, I just put a file paste_deploy_config.ini_tmpl into
the .egg-info directory, and then use that when deploying a web
application. The file itself is a template for configuration, and those
variables are filled in as part of the deployment.
A more general and maybe even simpler method would simply be an entry
point, like [etc_files], which would be an object with certain methods,
which could be used to install it in some location. I imagine such an
object would indicate the variables needed to install it, default
location for the configuration file(s), and possibly other post-install
routines.
Anyway, I think that's probably what you are getting at here...?
More information about the Distutils-SIG
mailing list