]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently
authorChristian Heimes <christian@cheimes.de>
Thu, 6 Sep 2012 16:02:49 +0000 (18:02 +0200)
committerChristian Heimes <christian@cheimes.de>
Thu, 6 Sep 2012 16:02:49 +0000 (18:02 +0200)
setup.py

index 65acb99f7c17187439641c28d60d1184b90a3280..10ce79e29c23eecb919d2c42afc1533b221b83f4 100644 (file)
--- 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.