[Numpy-svn] r4480 - branches/numpy.scons/numpy/distutils/scons/core

numpy-svn@scip... numpy-svn@scip...
Tue Nov 20 23:32:04 CST 2007


Author: cdavid
Date: 2007-11-20 23:31:50 -0600 (Tue, 20 Nov 2007)
New Revision: 4480

Modified:
   branches/numpy.scons/numpy/distutils/scons/core/default.py
Log:
More indent fix in distutils.scons

Modified: branches/numpy.scons/numpy/distutils/scons/core/default.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/core/default.py	2007-11-21 05:25:06 UTC (rev 4479)
+++ branches/numpy.scons/numpy/distutils/scons/core/default.py	2007-11-21 05:31:50 UTC (rev 4480)
@@ -113,11 +113,11 @@
     def get_flags_dict(self):
         d = {'NUMPY_OPTIM_CFLAGS' : self.optim,
              'NUMPY_OPTIM_LDFLAGS' : self.link_optim,
-                'NUMPY_WARN_CFLAGS' : self.warn,
-                'NUMPY_THREAD_CFLAGS' : self.thread,
-                'NUMPY_EXTRA_CFLAGS' : self.debug,
-                'NUMPY_DEBUG_CFLAGS' : self.debug,
-                'NUMPY_DEBUG_SYMBOL_CFLAGS' : self.debug_symbol}
+             'NUMPY_WARN_CFLAGS' : self.warn,
+             'NUMPY_THREAD_CFLAGS' : self.thread,
+             'NUMPY_EXTRA_CFLAGS' : self.debug,
+             'NUMPY_DEBUG_CFLAGS' : self.debug,
+             'NUMPY_DEBUG_SYMBOL_CFLAGS' : self.debug_symbol}
         for k, v in d.items():
             if v is None:
                 d[k] = []
@@ -178,14 +178,14 @@
         cfg = CompilerConfig(optim = ['-O2', '-fno-strict-aliasing'],
                              warn = ['-Wall', '-Wstrict-prototypes'])
     elif name == 'suncc':
-	# -xtarget and co (-xarch, etc...) should be put in link_optim and
-	# optim for optimal performances.  If you do not need the package to be
-	# redistributable, using -xtarget=native is a good choice. See man cc
-	# for more info.
-	# XXX: detect this automatically ?
+        # -xtarget and co (-xarch, etc...) should be put in link_optim and
+        # optim for optimal performances.  If you do not need the package to be
+        # redistributable, using -xtarget=native is a good choice. See man cc
+        # for more info.
+        # XXX: detect this automatically ?
         cfg = CompilerConfig(optim = ['-fast'],
-			     debug_symbol = ['-g'], 
-			     link_optim = [])
+			                 debug_symbol = ['-g'], 
+			                 link_optim = [])
     else:
         # For not yet supported compiler, just put everything in optims from
         # distutils



More information about the Numpy-svn mailing list