mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Flake8
This commit is contained in:
parent
c2b3bd5635
commit
c5f066d3f6
14
setup.py
14
setup.py
|
@ -158,8 +158,18 @@ def _pkg_config(name):
|
||||||
if not DEBUG:
|
if not DEBUG:
|
||||||
command_libs.append('--silence-errors')
|
command_libs.append('--silence-errors')
|
||||||
command_cflags.append('--silence-errors')
|
command_cflags.append('--silence-errors')
|
||||||
libs = subprocess.check_output(command_libs).decode('utf8').strip().replace('-L', '')
|
libs = (
|
||||||
cflags = subprocess.check_output(command_cflags).decode('utf8').strip().replace('-I', '')
|
subprocess.check_output(command_libs)
|
||||||
|
.decode("utf8")
|
||||||
|
.strip()
|
||||||
|
.replace("-L", "")
|
||||||
|
)
|
||||||
|
cflags = (
|
||||||
|
subprocess.check_output(command_cflags)
|
||||||
|
.decode("utf8")
|
||||||
|
.strip()
|
||||||
|
.replace("-I", "")
|
||||||
|
)
|
||||||
return (libs, cflags)
|
return (libs, cflags)
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user