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

Skip to content

Commit 7dd06e1

Browse files
committed
Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently
1 parent 56cd62c commit 7dd06e1

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
@@ -1675,6 +1675,8 @@ def configure_ctypes(self, ext):
16751675
from distutils.dir_util import mkpath
16761676
mkpath(ffi_builddir)
16771677
config_args = []
1678+
if not self.verbose:
1679+
config_args.append("-q")
16781680

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

0 commit comments

Comments
 (0)