Skip to content

Commit

Permalink
Removed SETUPTOOLS_USE_DISTUTILS="stdlib"
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 22, 2024
1 parent 9c3d8fb commit 30f03b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ jobs:
mingw-w64-x86_64-python3-numpy \
mingw-w64-x86_64-python3-olefile \
mingw-w64-x86_64-python3-pip \
mingw-w64-x86_64-python3-setuptools \
mingw-w64-x86_64-python-pytest \
mingw-w64-x86_64-python-pytest-cov \
mingw-w64-x86_64-python-pytest-timeout \
Expand All @@ -78,7 +77,7 @@ jobs:
pushd depends && ./install_extra_test_images.sh && popd
- name: Build Pillow
run: SETUPTOOLS_USE_DISTUTILS="stdlib" CFLAGS="-coverage" python3 -m pip install .
run: CFLAGS="-coverage" python3 -m pip install .

- name: Test Pillow
run: |
Expand Down
5 changes: 0 additions & 5 deletions docs/installation/building-from-source.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,6 @@ Many of Pillow's features require external libraries:
mingw-w64-x86_64-libimagequant \
mingw-w64-x86_64-libraqm

https://www.msys2.org/docs/python/ states that setuptools >= 60 does not work with
MSYS2. To workaround this, before installing Pillow you must run::

export SETUPTOOLS_USE_DISTUTILS=stdlib

.. tab:: FreeBSD

.. Note:: Only FreeBSD 10 and 11 tested
Expand Down

0 comments on commit 30f03b2

Please sign in to comment.