[Numpy-svn] r4130 - in branches/numpy.scons/numpy: distutils/command distutils/scons distutils/scons-local distutils/scons-local/scons-local-0.97.0d20070918 distutils/scons-local/scons-local-0.97.0d20070918/SCons distutils/scons-local/scons-local-0.97.0d20070918/SCons/Node distutils/scons-local/scons-local-0.97.0d20070918/SCons/Options distutils/scons-local/scons-local-0.97.0d20070918/SCons/Platform distutils/scons-local/scons-local-0.97.0d20070918/SCons/Scanner distutils/scons-local/scons-local-0.97.0d20070918/SCons/Script distutils/scons-local/scons-local-0.97.0d20070918/SCons/Tool distutils/scons-local/scons-local-0.97.0d20070918/SCons/Tool/packaging distutils/scons-local/scons-local-0.97.0d20070918/SCons/compat scons_fake scons_fake/tests

numpy-svn@scip... numpy-svn@scip...
Tue Sep 25 06:04:50 CDT 2007


Author: cdavid
Date: 2007-09-25 06:04:33 -0500 (Tue, 25 Sep 2007)
New Revision: 4130

Modified:
   branches/numpy.scons/numpy/distutils/command/scons.py
   branches/numpy.scons/numpy/distutils/scons-local/
   branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/
   branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/
   branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Node/
   branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Options/
   branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Platform/
   branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Scanner/
   branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Script/
   branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Tool/
   branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Tool/packaging/
   branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/compat/
   branches/numpy.scons/numpy/distutils/scons/
   branches/numpy.scons/numpy/scons_fake/
   branches/numpy.scons/numpy/scons_fake/tests/
Log:
Raise an error when scons failed

Modified: branches/numpy.scons/numpy/distutils/command/scons.py
===================================================================
--- branches/numpy.scons/numpy/distutils/command/scons.py	2007-09-25 10:56:04 UTC (rev 4129)
+++ branches/numpy.scons/numpy/distutils/command/scons.py	2007-09-25 11:04:33 UTC (rev 4130)
@@ -3,6 +3,7 @@
 from os.path import join as pjoin, dirname as pdirname
 
 #from distutils.core import build_py as old_build_py
+from distutils.errors import DistutilsExecError
 from numpy.distutils.command.build_ext import build_ext as old_build_ext
 from numpy.distutils.ccompiler import CCompiler
 from numpy.distutils.exec_command import find_executable
@@ -127,3 +128,4 @@
             st = os.system(cmd)
             if st:
                 print "status is %d" % st
+                raise DistutilsExecError("Error while executing scons (see above)")


Property changes on: branches/numpy.scons/numpy/distutils/scons
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/distutils/scons-local
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Node
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Options
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Platform
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Scanner
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Script
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Tool
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/Tool/packaging
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/distutils/scons-local/scons-local-0.97.0d20070918/SCons/compat
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/scons_fake
___________________________________________________________________
Name: svn:ignore
   + *.pyc



Property changes on: branches/numpy.scons/numpy/scons_fake/tests
___________________________________________________________________
Name: svn:ignore
   + *.pyc




More information about the Numpy-svn mailing list