Package entropy :: Package core :: Package settings :: Module base

Module base

source code

Author: Fabio Erculiani <[email protected]>

Contact: [email protected]

Copyright: Fabio Erculiani

License: GPL-2

Entropy Framework SystemSettings module.

SystemSettings is a singleton, pluggable interface which contains all the runtime settings (mostly parsed from configuration files and inherited from entropy.const -- which contains almost all the default values). SystemSettings works as a dict object. Due to limitations of multiple inherittance when using the Singleton class, SystemSettings ONLY mimics a dict AND it's not a subclass of it.

Entropy .ini-like repository configuration file parser.
This is the place where all the Entropy settings are stored if they are not considered instance constants (etpConst).
  __package__ = 'entropy.core.settings'