mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-04 04:20:10 +03:00
Remove add-imaging-libs option
This commit is contained in:
parent
fec83b58af
commit
4c5345cf53
4
setup.py
4
setup.py
|
@ -333,7 +333,6 @@ class pil_build_ext(build_ext):
|
||||||
("disable-platform-guessing", None, "Disable platform guessing on Linux"),
|
("disable-platform-guessing", None, "Disable platform guessing on Linux"),
|
||||||
("debug", None, "Debug logging"),
|
("debug", None, "Debug logging"),
|
||||||
]
|
]
|
||||||
+ [("add-imaging-libs=", None, "Add libs to _imaging build")]
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
@ -344,7 +343,6 @@ class pil_build_ext(build_ext):
|
||||||
self.disable_platform_guessing = self.check_configuration(
|
self.disable_platform_guessing = self.check_configuration(
|
||||||
"platform-guessing", "disable"
|
"platform-guessing", "disable"
|
||||||
)
|
)
|
||||||
self.add_imaging_libs = ""
|
|
||||||
build_ext.initialize_options(self)
|
build_ext.initialize_options(self)
|
||||||
for x in self.feature:
|
for x in self.feature:
|
||||||
setattr(self, f"disable_{x}", self.check_configuration(x, "disable"))
|
setattr(self, f"disable_{x}", self.check_configuration(x, "disable"))
|
||||||
|
@ -821,7 +819,7 @@ class pil_build_ext(build_ext):
|
||||||
#
|
#
|
||||||
# core library
|
# core library
|
||||||
|
|
||||||
libs = self.add_imaging_libs.split()
|
libs = []
|
||||||
defs = []
|
defs = []
|
||||||
if feature.tiff:
|
if feature.tiff:
|
||||||
libs.append(feature.tiff)
|
libs.append(feature.tiff)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user