[Python-Dev] Fixing #7175: a standard location for Python config files
Éric Araujo
merwok at netwok.org
Fri Aug 13 03:15:28 CEST 2010
> A good alternative would be to make the config file overridable. That way
> you can have sysconfig.cfg next to sysconfig.py or in a known config
> directory relative to the python stdlib install but also let the
> distributions and individual sites override the defaults by making changes
> to /etc/python3/sysconfig.cfg for instance.
Putting configuration files next to source code does not agree with the
FHS. Your message gave me an idea though: Some function could be called
in sitecustomize (symlinked from /etc on Debian e.g.) to set the path to
sysconfig.cfg.
More information about the Python-Dev
mailing list