Skip to content

Commit 04d3453

Browse files
committed
Fix documentation about when setup.py clean is run
1 parent e1dd4b4 commit 04d3453

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/html/reference/build-system/setup-py.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ by pip to avoid repeated identical builds.
5656

5757
If this wheel generation fails, pip will attempt a direct installation instead.
5858

59+
#### Cleanup
60+
61+
After this, pip runs `setup.py clean` to clean up any build artifacts that
62+
may have been generated.
63+
5964
### Direct Installation
6065

6166
When all else fails, pip will invoke `setup.py install` to install a package
@@ -70,11 +75,6 @@ For installing packages in "editable" mode
7075
`setup.py develop`, which will use setuptools' mechanisms to perform an
7176
editable/development installation.
7277

73-
### Cleanup
74-
75-
After attempting installation, pip may run `setup.py clean` to clean up build
76-
artifacts from that setuptools has generated.
77-
7878
## Setuptools Injection
7979

8080
To support projects that directly use `distutils`, pip injects `setuptools` into

0 commit comments

Comments
 (0)