def expandvars_dict(settings):
    """Expands all environment variables in a settings dictionary."""
In the Pyramid web framework, how do I source sensitive settings into development.ini / production.ini from an external file?