mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Merge pull request #3353 from radarhere/duplicate
Simplified duplicate code
This commit is contained in:
commit
140606dd00
5
setup.py
5
setup.py
|
@ -524,10 +524,7 @@ class pil_build_ext(build_ext):
|
|||
if _find_include_file(self, 'tiff.h'):
|
||||
if _find_library_file(self, "tiff"):
|
||||
feature.tiff = "tiff"
|
||||
if (sys.platform == "win32" and
|
||||
_find_library_file(self, "libtiff")):
|
||||
feature.tiff = "libtiff"
|
||||
if (sys.platform == "darwin" and
|
||||
if (sys.platform in ["win32", "darwin"] and
|
||||
_find_library_file(self, "libtiff")):
|
||||
feature.tiff = "libtiff"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user