Revision: 4808
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4808&view=rev
Author:   jswhit
Date:     2008-01-08 05:37:05 -0800 (Tue, 08 Jan 2008)

Log Message:
-----------
add python 2.4 requirement

Modified Paths:
--------------
    trunk/toolkits/basemap/setup-data.py

Modified: trunk/toolkits/basemap/setup-data.py
===================================================================
--- trunk/toolkits/basemap/setup-data.py        2008-01-08 13:34:34 UTC (rev 
4807)
+++ trunk/toolkits/basemap/setup-data.py        2008-01-08 13:37:05 UTC (rev 
4808)
@@ -1,4 +1,18 @@
 import sys, glob, os
+major, minor1, minor2, s, tmp = sys.version_info
+if major==2 and minor1<=3:
+    # setuptools monkeypatches distutils.core.Distribution to support
+    # package_data
+    #try: import setuptools
+    #except ImportError:
+    #    raise SystemExit("""
+#matplotlib requires setuptools for installation.  Please download
+#http://peak.telecommunity.com/dist/ez_setup.py and run it (as su if
+#you are doing a system wide install) to install the proper version of
+#setuptools for your system""")
+    raise SystemExit("""The basemap toolkit requires python 2.4.""")
+from distutils.core import setup
+
 packages          = ['matplotlib.toolkits.basemap.data']
 package_dirs       = {'':'lib'}
 boundaryfiles = glob.glob("lib/matplotlib/toolkits/basemap/data/*_f.dat")


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to