Removed direct invocation of setup.py #8027
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Addresses python-pillow/docker-images#207 (comment) and #5896 (comment)
Pillow/Makefile
Lines 4 to 8 in c250a44
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.