5.1. recipe_system package

5.1.1. Subpackages

5.1.2. Submodules

5.1.3. recipe_system.config module

This module provides an interface to config files, and a globally available config object, to share setup information across the application.

An instance of ConfigParser, globalConf, is initialized when first loading this module, and it should be used as the only interface to the config system.

recipe_system.config.environment_variable_name(section, option)[source]
recipe_system.config.expand_filenames(filenames=None, deprecation_warning=True)[source]

Expand the list of filenames to read the config from.

filenames : str/list/None
filenames of config files to load, or None for default

Updates the globalConf object by reading one or more config files. If no filename is passed, the default config file is read.

filenames : str/list/None
filenames of config files to load