Skip to content

Commit 0546eb9

Browse files
committed
msys2: update install documentation
1 parent 05f9e20 commit 0546eb9

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

docs/installation.rst

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,23 @@ Many of Pillow's features require external libraries:
285285

286286
.. tab:: Windows using MSYS2/MinGW
287287

288-
To build Pillow using MSYS2, make sure you run the **MSYS2 MinGW 64-bit** console,
289-
*not* **MSYS2** directly.
288+
The following instructions are for the **MSYS2 MINGW64** system.
289+
To build Pillow on one of the other MSYS2 systems, replace all occurences of
290+
``mingw-w64-x86_64`` with the corresponding prefix:
291+
292+
.. list-table::
293+
:header-rows: 1
294+
295+
* - MSYS2 system
296+
- Package prefix
297+
* - **UCRT64**
298+
- ``mingw-w64-ucrt-x86_64``
299+
* - **CLANG64**
300+
- ``mingw-w64-clang-x86_64``
301+
* - **MINGW64**
302+
- ``mingw-w64-x86_64``
303+
304+
Installing in **MSYS2 MSYS** is not supported.
290305

291306
Make sure you have Python and GCC installed::
292307

@@ -296,7 +311,7 @@ Many of Pillow's features require external libraries:
296311
mingw-w64-x86_64-python3-pip \
297312
mingw-w64-x86_64-python3-setuptools
298313

299-
Prerequisites are installed on **MSYS2 MinGW 64-bit** with::
314+
Prerequisites are installed on **MSYS2 MINGW64** with::
300315

301316
pacman -S \
302317
mingw-w64-x86_64-libjpeg-turbo \
@@ -472,7 +487,7 @@ These platforms are built and tested for every change.
472487
| Windows Server 2022 | 3.8, 3.9, 3.10, 3.11, | x86-64 |
473488
| | 3.12, PyPy3 | |
474489
| +----------------------------+---------------------+
475-
| | 3.9 (MinGW) | x86-64 |
490+
| | 3.9 (MSYS2) | x86-64 |
476491
| +----------------------------+---------------------+
477492
| | 3.8, 3.9 (Cygwin) | x86-64 |
478493
+----------------------------------+----------------------------+---------------------+

0 commit comments

Comments
 (0)