mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-25 22:54:46 +03:00
Line too long
This commit is contained in:
parent
c2b3bd5635
commit
079319fc74
9
setup.py
9
setup.py
|
@ -158,8 +158,13 @@ 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', '')
|
|
||||||
cflags = subprocess.check_output(command_cflags).decode('utf8').strip().replace('-I', '')
|
libs = subprocess.check_output(command_libs).decode('utf8').strip()
|
||||||
|
libs = libs.replace('-L', '')
|
||||||
|
|
||||||
|
cflags = subprocess.check_output(command_cflags).decode('utf8').strip()
|
||||||
|
cflags = cflags.replace('-I', '')
|
||||||
|
|
||||||
return (libs, cflags)
|
return (libs, cflags)
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user