From: Christian Heimes Date: Thu, 6 Sep 2012 16:02:49 +0000 (+0200) Subject: Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently X-Git-Tag: v3.2.4rc1~568 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7dd06e1dc038ffb8c765a024910f24be21fb2c8f;p=thirdparty%2FPython%2Fcpython.git Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently --- diff --git a/setup.py b/setup.py index 65acb99f7c17..10ce79e29c23 100644 --- a/setup.py +++ b/setup.py @@ -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.