How do you manage different configuration files for different environments with single file name.
We've come up with some options, File are organized like
config.prod.ini
config.test.ini
config.dev.ini
And on each environment we create a symlink that points to the correct file.
Example:
config.ini -> config.prod.ini (on production environment)
config.ini -> config.test.ini (on test environment)
config.ini -> config.dev.ini (on development environment)
The .py files reads only from config.ini. Our systems are written in python 3.x Is there a better way?