]> granicus.if.org Git - python/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 b5abe611bc3aa11b5f86b2216e9b56b359159081..7b3a535778338323cae313f66d568b8dd97139b5 100644 (file)
--- 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.