From fbc5879de8a4446c8bf7be847425e768ce4cff45 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 11 Nov 2025 19:27:03 +0700 Subject: python/python3-pillow-opt: Added (PIL Library). Signed-off-by: Willy Sudiarto Raharjo --- python/python3-pillow-opt/README | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 python/python3-pillow-opt/README (limited to 'python/python3-pillow-opt/README') diff --git a/python/python3-pillow-opt/README b/python/python3-pillow-opt/README new file mode 100644 index 0000000000..f744f6a613 --- /dev/null +++ b/python/python3-pillow-opt/README @@ -0,0 +1,23 @@ +python3-pillow-opt (Python Imaging Library, new version) + +The Python Imaging Library (PIL) adds image processing capabilities +to your Python environment. This library provides extensive file +format support, an efficient internal representation, and powerful +image processing capabilities. + +This version of pillow installs to /opt/python3.9/, so it won't +conflict with Slackware's older python-pillow package. This is the +newest version of pillow that will work with Python 3.9 (please don't +ask for an update to >= 12.0.0). + +Any SlackBuild for a python3 program that requires this version of +pillow will have to modify the python script itself. Add the following +code: + +import sys +sys.path.insert(0,'/opt/python3.9/site-packages') + +If there's already an 'import sys', just put the insert() line right +after it. + +Note: the API documentation is not installed as part of the package. -- cgit v1.2.3