[Python-checkins] cpython (merge 3.2 -> default): 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:57 CEST 2012


http://hg.python.org/cpython/rev/e5569b03a287
changeset:   78862:e5569b03a287
parent:      78860:dc2909a62262
parent:      78861:048e13546a7c
user:        Christian Heimes <christian at cheimes.de>
date:        Thu Sep 06 18:03:32 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
@@ -1788,6 +1788,8 @@
                 mkpath(ffi_builddir)
                 config_args = [arg for arg in sysconfig.get_config_var("CONFIG_ARGS").split()
                                if (('--host=' in arg) or ('--build=' in arg))]
+                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