mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +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:
|
||||
self._remove_extension("PIL._webp")
|
||||
|
||||
tk_libs = (
|
||||
["psapi"] if (sys.platform == "win32" or sys.platform == "cygwin") else []
|
||||
)
|
||||
tk_libs = ["psapi"] if sys.platform in ("win32", "cygwin") else []
|
||||
self._update_extension("PIL._imagingtk", tk_libs)
|
||||
|
||||
build_ext.build_extensions(self)
|
||||
|
|
Loading…
Reference in New Issue
Block a user