Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently
This commit is contained in:
parent
58098a77e6
commit
6fd3248855
2
setup.py
2
setup.py
|
@ -1872,6 +1872,8 @@ class PyBuildExt(build_ext):
|
||||||
from distutils.dir_util import mkpath
|
from distutils.dir_util import mkpath
|
||||||
mkpath(ffi_builddir)
|
mkpath(ffi_builddir)
|
||||||
config_args = []
|
config_args = []
|
||||||
|
if not self.verbose:
|
||||||
|
config_args.append("-q")
|
||||||
|
|
||||||
# Pass empty CFLAGS because we'll just append the resulting
|
# Pass empty CFLAGS because we'll just append the resulting
|
||||||
# CFLAGS to Python's; -g or -O2 is to be avoided.
|
# CFLAGS to Python's; -g or -O2 is to be avoided.
|
||||||
|
|
Loading…
Reference in New Issue