pkgcore.config package¶
Submodules¶
- pkgcore.config.basics module
- pkgcore.config.central module
- pkgcore.config.cparser module
- pkgcore.config.domain module
- pkgcore.config.errors module
- pkgcore.config.hint module
Module contents¶
configuration subsystem
- pkgcore.config.load_config(user_conf_file: str | None = '/home/runner/.config/pkgcore.conf', system_conf_file: str | None = '/etc/pkgcore/pkgcore.conf', debug: bool = False, prepend_sources=(), skip_config_files: bool = False, profile_override: str | None = None, location: str | None = None, **kwargs) CompatConfigManager [source]¶
The main entry point for any code looking to use pkgcore.
- Args:
user_conf_file (optional[str]): pkgcore user config file path system_conf_file (optional[str]): system pkgcore config file path profile_override (optional[str]): targeted profile instead of system setting location (optional[str]): path to pkgcore config file or portage config directory skip_config_files (bool): don’t attempt to load any config files
- Returns:
pkgcore.config.central.ConfigManager
instance: system config