mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Fix documentation about when setup.py clean
is run
It is only run on failure to build wheels.
This commit is contained in:
parent
e1dd4b4255
commit
b576329791
1 changed files with 3 additions and 6 deletions
|
@ -54,7 +54,9 @@ depending on the package), the generated wheel is added to pip's wheel cache
|
||||||
and will be used for this installation. The built wheel is cached locally
|
and will be used for this installation. The built wheel is cached locally
|
||||||
by pip to avoid repeated identical builds.
|
by pip to avoid repeated identical builds.
|
||||||
|
|
||||||
If this wheel generation fails, pip will attempt a direct installation instead.
|
If this wheel generation fails, pip runs `setup.py clean` to clean up any build
|
||||||
|
artifacts that may have been generated. After that, pip will attempt a direct
|
||||||
|
installation.
|
||||||
|
|
||||||
### Direct Installation
|
### Direct Installation
|
||||||
|
|
||||||
|
@ -70,11 +72,6 @@ For installing packages in "editable" mode
|
||||||
`setup.py develop`, which will use setuptools' mechanisms to perform an
|
`setup.py develop`, which will use setuptools' mechanisms to perform an
|
||||||
editable/development installation.
|
editable/development installation.
|
||||||
|
|
||||||
### Cleanup
|
|
||||||
|
|
||||||
After attempting installation, pip may run `setup.py clean` to clean up build
|
|
||||||
artifacts from that setuptools has generated.
|
|
||||||
|
|
||||||
## Setuptools Injection
|
## Setuptools Injection
|
||||||
|
|
||||||
To support projects that directly use `distutils`, pip injects `setuptools` into
|
To support projects that directly use `distutils`, pip injects `setuptools` into
|
||||||
|
|
Loading…
Reference in a new issue