9. Internals

9.1. Static internal values

The following are set when the pyfusion module is imported, and are not designed to be changed by the user.

9.1.1. PYFUSION_ROOT_DIR

A string containing the directory where the pyfusion module resides.

9.1.2. LOGGING_CONFIG_FILE

Filename of the configuration file used to set up pyfusion.logger.

9.1.3. VERSION

Pyfusion version, as returned by pyfusion.version.get_version().

9.1.4. DEFAULT_CONFIG_FILE

Location of file containing default pyfusion configuration.

9.1.5. USER_PYFUSION_DIR

Location of user’s pyfusion directory. On linux this will be $HOME/.pyfusion

9.1.6. USER_CONFIG_FILE

Location of user’s pyfusion configuration file. On linux this will be $HOME/.pyfusion/pyfusion.cfg

9.1.7. USER_ENV_CONFIG_FILE

This is set to the value of the PYFUSION_CONFIG_FILE environment variable, which supersedes USER_CONFIG_FILE and DEFAULT_CONFIG_FILE.