Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently

This commit is contained in:
Christian Heimes 2012-09-06 18:02:49 +02:00
parent 56cd62c04a
commit 7dd06e1dc0
1 changed files with 2 additions and 0 deletions

View File

@ -1675,6 +1675,8 @@ class PyBuildExt(build_ext):
from distutils.dir_util import mkpath
mkpath(ffi_builddir)
config_args = []
if not self.verbose:
config_args.append("-q")
# Pass empty CFLAGS because we'll just append the resulting
# CFLAGS to Python's; -g or -O2 is to be avoided.