From bc0e2c0e61a548dbf566a25a53812b969b616b6d Mon Sep 17 00:00:00 2001 From: Andrew Murray <3112309+radarhere@users.noreply.github.com> Date: Sat, 3 Jan 2026 20:18:57 +1100 Subject: [PATCH] Remove add-imaging-libs option from setup.py (#9378) Co-authored-by: Alexander Karpinsky --- setup.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.py b/setup.py index 032c1c6d2..35bea6fa4 100644 --- a/setup.py +++ b/setup.py @@ -363,7 +363,6 @@ class pil_build_ext(build_ext): ("disable-platform-guessing", None, "Disable platform guessing"), ("debug", None, "Debug logging"), ] - + [("add-imaging-libs=", None, "Add libs to _imaging build")] ) @staticmethod @@ -374,7 +373,6 @@ class pil_build_ext(build_ext): self.disable_platform_guessing = self.check_configuration( "platform-guessing", "disable" ) - self.add_imaging_libs = "" build_ext.initialize_options(self) for x in self.feature: setattr(self, f"disable_{x}", self.check_configuration(x, "disable")) @@ -901,7 +899,6 @@ class pil_build_ext(build_ext): # core library libs: list[str | bool | None] = [] - libs.extend(self.add_imaging_libs.split()) defs: list[tuple[str, str | None]] = [] if feature.get("tiff"): libs.append(feature.get("tiff"))