mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-14 13:46:57 +03:00
Suggestion: use 'var in tuple' instead of chained comparisons.
This commit is contained in:
parent
b542da8eb5
commit
29b92391bc
4
setup.py
4
setup.py
|
@ -887,9 +887,7 @@ class pil_build_ext(build_ext):
|
||||||
else:
|
else:
|
||||||
self._remove_extension("PIL._webp")
|
self._remove_extension("PIL._webp")
|
||||||
|
|
||||||
tk_libs = (
|
tk_libs = ["psapi"] if sys.platform in ("win32", "cygwin") else []
|
||||||
["psapi"] if (sys.platform == "win32" or sys.platform == "cygwin") else []
|
|
||||||
)
|
|
||||||
self._update_extension("PIL._imagingtk", tk_libs)
|
self._update_extension("PIL._imagingtk", tk_libs)
|
||||||
|
|
||||||
build_ext.build_extensions(self)
|
build_ext.build_extensions(self)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user