Currently, python has it's own private config system that external modules can use, which is centered around e.g., /usr/lib/python2.3/config/. More and more modern tools are being converted to use a standardized pkgconfig system, at least on Linux systems. I hope python can also be moved in this direction.