generate a config.py file at install time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-distutils-extra |
New
|
Undecided
|
Unassigned |
Bug Description
It would be nice if we could generate a config.py file at install time when the install prefix is known, the goald would be to avoid code like the one pasted below and make installation in custom prefixes (like the one used by jhbuild) work out of the box without having to manually set env vars for every application.
We already do something like that in gedit-plugins, but it is an autotools based project http://
# Detect if we are running from the source dir
if os.path.
ENV_PATHS = {
}
else:
ENV_PATHS = {
}
for var, path in ENV_PATHS.
os.