|
|
| RawConfigParser = configparser.RawConfigParser |
| |
|
| Kind = NewType("Kind", str) |
| |
|
str | CONFIG_BASENAME = "pip.ini" if WINDOWS else "pip.conf" |
| |
|
str | ENV_NAMES_IGNORED = "version", "help" |
| |
| | kinds |
| |
|
| OVERRIDE_ORDER = kinds.GLOBAL, kinds.USER, kinds.SITE, kinds.ENV, kinds.ENV_VAR |
| |
|
| VALID_LOAD_ONLY = kinds.USER, kinds.GLOBAL, kinds.SITE |
| |
|
| logger = getLogger(__name__) |
| |
Configuration management setup
Some terminology:
- name
As written in config files.
- value
Value associated with a name
- key
Name combined with it's section (section.name)
- variant
A single word describing where the configuration key-value pair came from