From 55df75a9402a8b3550eedc243bcf24c0b785c52b Mon Sep 17 00:00:00 2001 From: mattip Date: Mon, 16 Sep 2019 10:16:05 +0300 Subject: BUG: fixes from review --- numpy/distutils/ccompiler.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'numpy/distutils') diff --git a/numpy/distutils/ccompiler.py b/numpy/distutils/ccompiler.py index 742091781..643879023 100644 --- a/numpy/distutils/ccompiler.py +++ b/numpy/distutils/ccompiler.py @@ -18,7 +18,7 @@ from distutils.version import LooseVersion from numpy.distutils import log from numpy.distutils.compat import get_exception from numpy.distutils.exec_command import ( - filepath_from_subprocess_output + filepath_from_subprocess_output, forward_bytes_to_stdout ) from numpy.distutils.misc_util import cyg2win32, is_sequence, mingw32, \ get_num_build_jobs, \ @@ -165,7 +165,8 @@ def CCompiler_spawn(self, cmd, display=None): if is_sequence(cmd): cmd = ' '.join(list(cmd)) - log.info(o) + if self.verbose: + forward_bytes_to_stdout(o) if re.search(b'Too many open files', o): msg = '\nTry rerunning setup command until build succeeds.' -- cgit v1.2.1