[Numpy-svn] r4757 - branches/build_with_scons

numpy-svn at scipy.org numpy-svn at scipy.org
Sat Jan 26 01:53:52 EST 2008


Author: cdavid
Date: 2008-01-26 00:53:45 -0600 (Sat, 26 Jan 2008)
New Revision: 4757

Modified:
   branches/build_with_scons/setupscons.py
Log:
Import numpy.distutils before distutils, to let numpy.distutils do its monkey patching correctly

Modified: branches/build_with_scons/setupscons.py
===================================================================
--- branches/build_with_scons/setupscons.py	2008-01-25 18:32:14 UTC (rev 4756)
+++ branches/build_with_scons/setupscons.py	2008-01-26 06:53:45 UTC (rev 4757)
@@ -44,6 +44,9 @@
 # a lot more robust than what was previously being used.
 __builtin__.__NUMPY_SETUP__ = True
 
+# DO NOT REMOVE numpy.distutils IMPORT ! This is necessary for numpy.distutils'
+# monkey patching to work.
+import numpy.distutils
 from distutils.errors import DistutilsError
 try:
     import numscons




More information about the Numpy-svn mailing list