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 58098a77e6
commit 6fd3248855
1 changed files with 2 additions and 0 deletions

View File

@ -1872,6 +1872,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.