Revision: 5074
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5074&view=rev
Author: jdh2358
Date: 2008-04-25 08:43:06 -0700 (Fri, 25 Apr 2008)
Log Message:
-----------
added numpy version check at build time
Modified Paths:
--------------
trunk/matplotlib/setupext.py
Modified: trunk/matplotlib/setupext.py
===================================================================
--- trunk/matplotlib/setupext.py 2008-04-24 18:31:10 UTC (rev 5073)
+++ trunk/matplotlib/setupext.py 2008-04-25 15:43:06 UTC (rev 5074)
@@ -539,6 +539,14 @@
print_status("numpy", "no")
print_message("You must install numpy to build matplotlib.")
return False
+
+ major, minor1, minor2 = map(int, numpy.__version__.split('.')[:3])
+ if major<1 or (major==1 and minor1<1):
+ print_status("numpy version", "no")
+ print_message("You must install numpy 1.1 or later to build
matplotlib.")
+
+ return False
+
module = Extension('test', [])
add_numpy_flags(module)
add_base_flags(module)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins