Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6d1fb5a

Browse files
committed
Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently
2 parents d9c1bf7 + 7dd06e1 commit 6d1fb5a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,6 +1788,8 @@ def configure_ctypes(self, ext):
17881788
mkpath(ffi_builddir)
17891789
config_args = [arg for arg in sysconfig.get_config_var("CONFIG_ARGS").split()
17901790
if (('--host=' in arg) or ('--build=' in arg))]
1791+
if not self.verbose:
1792+
config_args.append("-q")
17911793

17921794
# Pass empty CFLAGS because we'll just append the resulting
17931795
# CFLAGS to Python's; -g or -O2 is to be avoided.

0 commit comments

Comments
 (0)