Skip to content

Commit

Permalink
Remove add-imaging-libs option
Browse files Browse the repository at this point in the history
  • Loading branch information
homm committed Sep 1, 2024
1 parent fec83b5 commit 4c5345c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ def __iter__(self):
("disable-platform-guessing", None, "Disable platform guessing on Linux"),
("debug", None, "Debug logging"),
]
+ [("add-imaging-libs=", None, "Add libs to _imaging build")]
)

@staticmethod
Expand All @@ -344,7 +343,6 @@ def initialize_options(self):
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"))
Expand Down Expand Up @@ -821,7 +819,7 @@ def build_extensions(self):
#
# core library

libs = self.add_imaging_libs.split()
libs = []
defs = []
if feature.tiff:
libs.append(feature.tiff)
Expand Down

0 comments on commit 4c5345c

Please sign in to comment.