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: v2.7.4rc1~592 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fd3248855f8a4c8edee2fe005a80c4e5c87e7f1;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 b5abe611bc3a..7b3a53577833 100644 --- a/setup.py +++ b/setup.py @@ -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.