diff options
Diffstat (limited to 'docs/html/topics/configuration.md')
-rw-r--r-- | docs/html/topics/configuration.md | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/docs/html/topics/configuration.md b/docs/html/topics/configuration.md index 521bc9af4..e4aafcd2b 100644 --- a/docs/html/topics/configuration.md +++ b/docs/html/topics/configuration.md @@ -19,14 +19,13 @@ and how they are related to pip's various command line options. ## Configuration Files -Configuration files can change the default values for command line options. -They are written using standard INI style configuration files. +Configuration files can change the default values for command line option. +They are written using a standard INI style configuration files. -pip has 4 "levels" of configuration files: +pip has 3 "levels" of configuration files: -- `global`: system-wide configuration file, shared across all users. -- `user`: per-user configuration file, shared across all environments. -- `base` : per-base environment configuration file, shared across all virtualenvs with the same base. (available since pip 23.0) +- `global`: system-wide configuration file, shared across users. +- `user`: per-user configuration file. - `site`: per-environment configuration file; i.e. per-virtualenv. ### Location @@ -48,9 +47,6 @@ User The legacy "per-user" configuration file is also loaded, if it exists: {file}`$HOME/.pip/pip.conf`. -Base -: {file}`\{sys.base_prefix\}/pip.conf` - Site : {file}`$VIRTUAL_ENV/pip.conf` ``` @@ -67,9 +63,6 @@ User The legacy "per-user" configuration file is also loaded, if it exists: {file}`$HOME/.pip/pip.conf`. -Base -: {file}`\{sys.base_prefix\}/pip.conf` - Site : {file}`$VIRTUAL_ENV/pip.conf` ``` @@ -88,9 +81,6 @@ User The legacy "per-user" configuration file is also loaded, if it exists: {file}`%HOME%\\pip\\pip.ini` -Base -: {file}`\{sys.base_prefix\}\\pip.ini` - Site : {file}`%VIRTUAL_ENV%\\pip.ini` ``` @@ -112,7 +102,6 @@ order: - `PIP_CONFIG_FILE`, if given. - Global - User -- Base - Site Each file read overrides any values read from previous files, so if the |