From f28ecc5808ba1c562ebf7c557d7817f3fe92823d Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Thu, 22 Jun 2023 17:45:24 +1000 Subject: [PATCH] Document how to install on MinGW when setuptools >= 60 --- docs/installation.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/installation.rst b/docs/installation.rst index ac54b037d..dc1cd8653 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -312,6 +312,11 @@ 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