[Numpy-svn] r5031 - trunk/numpy/distutils/command

numpy-svn@scip... numpy-svn@scip...
Sun Apr 13 16:26:08 CDT 2008


Author: cdavid
Date: 2008-04-13 16:26:04 -0500 (Sun, 13 Apr 2008)
New Revision: 5031

Modified:
   trunk/numpy/distutils/command/scons.py
Log:
Add one more level for silent modes in scons command.

Modified: trunk/numpy/distutils/command/scons.py
===================================================================
--- trunk/numpy/distutils/command/scons.py	2008-04-13 17:51:58 UTC (rev 5030)
+++ trunk/numpy/distutils/command/scons.py	2008-04-13 21:26:04 UTC (rev 5031)
@@ -185,8 +185,8 @@
               "specify number of worker threads when executing scons"),
              ('scons-tool-path=', None, 'specify additional path '\
                                     '(absolute) to look for scons tools'),
-             ('silent=', None, 'specify whether scons output should be silent '\
-                               '(1), super silent (2) or not (0, default)')]
+             ('silent=', None, 'specify whether scons output should less verbose'\
+                               '(1), silent (2), super silent (3) or not (0, default)')]
 
     def initialize_options(self):
         old_build_ext.initialize_options(self)
@@ -320,10 +320,11 @@
 
             cmd.append('include_bootstrap=%s' % dirl_to_str(get_numpy_include_dirs()))
             if self.silent:
-                if int(self.silent) == 1:
+                if int(self.silent) == 2:
                     cmd.append('-Q')
-                elif int(self.silent) == 2:
+                elif int(self.silent) == 3:
                     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)
             st = os.system(cmdstr)



More information about the Numpy-svn mailing list