[Scipy-svn] r6455 - branches/0.8.x

scipy-svn at scipy.org scipy-svn at scipy.org
Mon May 31 09:08:07 EDT 2010


Author: rgommers
Date: 2010-05-31 08:08:07 -0500 (Mon, 31 May 2010)
New Revision: 6455

Modified:
   branches/0.8.x/pavement.py
Log:
REL: Update Paver script, build against NumPy 1.4.1.

Modified: branches/0.8.x/pavement.py
===================================================================
--- branches/0.8.x/pavement.py	2010-05-31 08:46:01 UTC (rev 6454)
+++ branches/0.8.x/pavement.py	2010-05-31 13:08:07 UTC (rev 6455)
@@ -70,7 +70,7 @@
     sys.path.pop(0)
 
 # Default python version
-PYVER="2.5"
+PYVER="2.6"
 DMG_DIR = "dmg-source"
 
 # Wine config for win32 builds
@@ -443,10 +443,8 @@
 def _build_mpkg(pyver):
     numver = parse_numpy_version(MPKG_PYTHON[pyver])
     numverstr = ".".join(["%i" % i for i in numver])
-    if pyver == "2.5" and not numver[:2] == (1, 2):
-        raise ValueError("Scipy 0.7.x should be built against numpy 1.2.x for python 2.5 (detected %s)" % numverstr)
-    elif pyver == "2.6" and not numver[:2] == (1, 3):
-        raise ValueError("Scipy 0.7.x should be built against numpy 1.3.x for python 2.6 (detected %s)" % numverstr)
+    if not numver == (1, 4, 1):
+        raise ValueError("Scipy 0.8.x should be built against numpy 1.4.1, (detected %s)" % numverstr)
 
     prepare_static_gfortran_runtime("build")
     ldflags = "-undefined dynamic_lookup -bundle -arch i386 -arch ppc -Wl,-search_paths_first"




More information about the Scipy-svn mailing list