From 51075b8e5c8a3909232df9387996a98ec5618b98 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 20 Nov 2023 18:54:56 +1100 Subject: [PATCH 1/2] tcl/tk is no longer a build dependency --- docs/installation.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 87304f2e4..6725a782d 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -176,8 +176,6 @@ Many of Pillow's features require external libraries: transparent WebP files. Versions **0.3.0** and above support transparency. -* **tcl/tk** provides support for tkinter bitmap and photo images. - * **openjpeg** provides JPEG 2000 functionality. * Pillow has been tested with openjpeg **2.0.0**, **2.1.0**, **2.3.1**, @@ -212,6 +210,11 @@ Many of Pillow's features require external libraries: * **libxcb** provides X11 screengrab support. +* Before Pillow 3.3.0, **tcl/tk** was required when building, to later provide + support for tkinter bitmap and photo images. Now, Pillow contains small + tk/tcl header excerpts, and uses Python's tkinter module at runtime if it is + installed. + .. tab:: Linux If you didn't build Python from source, make sure you have Python's From 9f60788be1d223e7b29e290ebbcac2576a0b0c6e Mon Sep 17 00:00:00 2001 From: Andrew Murray <3112309+radarhere@users.noreply.github.com> Date: Mon, 20 Nov 2023 23:17:41 +1100 Subject: [PATCH 2/2] No longer mention tcl/tk under "External Libraries" Co-authored-by: Hugo van Kemenade --- docs/installation.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 6725a782d..8a88ecf24 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -210,11 +210,6 @@ Many of Pillow's features require external libraries: * **libxcb** provides X11 screengrab support. -* Before Pillow 3.3.0, **tcl/tk** was required when building, to later provide - support for tkinter bitmap and photo images. Now, Pillow contains small - tk/tcl header excerpts, and uses Python's tkinter module at runtime if it is - installed. - .. tab:: Linux If you didn't build Python from source, make sure you have Python's