mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +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_include_file(self, 'tiff.h'):
|
||||||
if _find_library_file(self, "tiff"):
|
if _find_library_file(self, "tiff"):
|
||||||
feature.tiff = "tiff"
|
feature.tiff = "tiff"
|
||||||
if (sys.platform == "win32" and
|
if (sys.platform in ["win32", "darwin"] and
|
||||||
_find_library_file(self, "libtiff")):
|
|
||||||
feature.tiff = "libtiff"
|
|
||||||
if (sys.platform == "darwin" and
|
|
||||||
_find_library_file(self, "libtiff")):
|
_find_library_file(self, "libtiff")):
|
||||||
feature.tiff = "libtiff"
|
feature.tiff = "libtiff"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user