diff options
author | Paul Moore <p.f.moore@gmail.com> | 2023-04-21 17:05:49 +0100 |
---|---|---|
committer | Paul Moore <p.f.moore@gmail.com> | 2023-04-21 17:05:49 +0100 |
commit | 7ba5a625bc95599e6f564285af84f39d24c109f8 (patch) | |
tree | 832460d2302f3e792b07b0ac9c7910bf9e20319b /docs | |
parent | 87678eefec0ad4fc6083a5843e8080ad56e64196 (diff) | |
download | pip-7ba5a625bc95599e6f564285af84f39d24c109f8.tar.gz |
Revert "Merge pull request #11487 from pelson/feature/base-prefix-config"
This reverts commit 56e5fa3c0fd0544e7b5b9b89d9d7854b82d51242, reversing
changes made to 2c09e9c760e67fd801b3e756357de3b3c82cd08d.
Diffstat (limited to 'docs')
-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 |