mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-23 23:30:34 +03:00
Remove add-imaging-libs option
# Conflicts: # setup.py
This commit is contained in:
parent
039869fe77
commit
bd03721816
3
setup.py
3
setup.py
|
@ -347,7 +347,6 @@ class pil_build_ext(build_ext):
|
|||
("disable-platform-guessing", None, "Disable platform guessing on Linux"),
|
||||
("debug", None, "Debug logging"),
|
||||
]
|
||||
+ [("add-imaging-libs=", None, "Add libs to _imaging build")]
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
|
@ -358,7 +357,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"))
|
||||
|
@ -849,7 +847,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"))
|
||||
|
|
Loading…
Reference in New Issue
Block a user