diff options
author | David Cournapeau <cournape@gmail.com> | 2008-04-21 10:54:01 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-04-21 10:54:01 +0000 |
commit | a37458b57cda4d1eb242c740699d9bd76a03643b (patch) | |
tree | 658681bb4631e63c5a11d7c8a727e02d9ca9ca7c /numpy/distutils/command/scons.py | |
parent | 9e68e5d18e4cb63a26a655a433d700bf61e0548f (diff) | |
download | numpy-a37458b57cda4d1eb242c740699d9bd76a03643b.tar.gz |
Do not show the whole scons command for silent modes.
Diffstat (limited to 'numpy/distutils/command/scons.py')
-rw-r--r-- | numpy/distutils/command/scons.py | 5 |
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 |