Removed direct invocation of setup.py by radarhere · Pull Request #8027 · python-pillow/Pillow
Addresses python-pillow/docker-images#207 (comment) and #5896 (comment)
Lines 4 to 8 in c250a44
| clean: | |
| python3 setup.py clean | |
| rm src/PIL/*.so || true | |
| rm -r build || true | |
| find . -name __pycache__ | xargs rm -r || true |
This removes python3 setup.py clean.
From https://github.com/pypa/setuptools/blob/main/setuptools/_distutils/command/clean.py, all it does is remove the 'build_temp' and 'build_base' directories. If I print those variables on my local machine, they are 'build/temp.macosx-14.0-arm64-cpython-38' and 'build', and we're already removing the 'build' directory ourselves.