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

numpy-svn@scip... numpy-svn@scip...
Sat Aug 23 01:14:11 CDT 2008


Author: rkern
Date: 2008-08-23 01:14:08 -0500 (Sat, 23 Aug 2008)
New Revision: 5677

Modified:
   trunk/numpy/distutils/command/build_ext.py
Log:
BUG: reinitialize_command(**kwds) is a setuptools override of the distutils API. Set the attribute directly, instead.

Modified: trunk/numpy/distutils/command/build_ext.py
===================================================================
--- trunk/numpy/distutils/command/build_ext.py	2008-08-23 06:12:01 UTC (rev 5676)
+++ trunk/numpy/distutils/command/build_ext.py	2008-08-23 06:14:08 UTC (rev 5677)
@@ -219,7 +219,8 @@
 
         # Make sure that scons based extensions are complete.
         if self.inplace:
-            self.reinitialize_command('scons', inplace=1)
+            cmd = self.reinitialize_command('scons')
+            cmd.inplace = 1
         self.run_command('scons')
 
     def swig_sources(self, sources):



More information about the Numpy-svn mailing list