1
1
Fork 0
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:
Pradyun Gedam 2021-10-03 10:54:07 +01:00
parent e1dd4b4255
commit b576329791
No known key found for this signature in database
GPG key ID: FF99710C4332258E

View file

@ -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
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
@ -70,11 +72,6 @@ For installing packages in "editable" mode
`setup.py develop`, which will use setuptools' mechanisms to perform an
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
To support projects that directly use `distutils`, pip injects `setuptools` into