[Python-checkins] cpython (2.7): Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently

christian.heimes python-checkins at python.org
Thu Sep 6 18:06:58 CEST 2012


http://hg.python.org/cpython/rev/962e8b2a39f3
changeset:   78863:962e8b2a39f3
branch:      2.7
parent:      78855:5a2ef447b80d
user:        Christian Heimes <christian at cheimes.de>
date:        Thu Sep 06 18:02:49 2012 +0200
summary:
  Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently

files:
  setup.py |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1872,6 +1872,8 @@
                 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.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list