summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/scons.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/command/scons.py')
-rw-r--r--numpy/distutils/command/scons.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/distutils/command/scons.py b/numpy/distutils/command/scons.py
index fa7cba530..75350fb84 100644
--- a/numpy/distutils/command/scons.py
+++ b/numpy/distutils/command/scons.py
@@ -326,7 +326,10 @@ class scons(old_build_ext):
cmd.append('-s')
cmd.append('silent=%d' % int(self.silent))
cmdstr = ' '.join(cmd)
- log.info("Executing scons command (pkg is %s): %s ", pkg_name, cmdstr)
+ if int(self.silent) < 1:
+ log.info("Executing scons command (pkg is %s): %s ", pkg_name, cmdstr)
+ else:
+ log.info("Executing scons command for pkg %s", pkg_name)
st = os.system(cmdstr)
if st:
print "status is %d" % st