Menu

Commit [r3040]  Maximize  Restore  History

updated README for setuptools requirement

jdh2358 2007-03-03

changed /trunk/matplotlib/README
changed /trunk/matplotlib/setup.py
/trunk/matplotlib/README Diff Switch to side-by-side view
--- a/trunk/matplotlib/README
+++ b/trunk/matplotlib/README
@@ -26,8 +26,11 @@
 
 REQUIREMENTS:
 
-   python 2.2+, and Numeric-22+ or numarray.  Other requirements are backend
-   dependent.  See http://matplotlib.sourceforge.net/backends.html
+   python 2.3+, and Numeric, numarray or numpy (recommended).  Other
+   requirements are backend dependent.  See
+   http://matplotlib.sourceforge.net/backends.html.  If you are using
+   python2.3, you'll also need to install setuptools; just download
+   http://peak.telecommunity.com/dist/ez_setup.py and run it.
 
 INSTALL
 
/trunk/matplotlib/setup.py Diff Switch to side-by-side view
--- a/trunk/matplotlib/setup.py
+++ b/trunk/matplotlib/setup.py
@@ -63,9 +63,15 @@
 if major==2 and minor1==2:
     print >> sys.stderr, "***\n\nWARNING, see build info for python2.2 in the header of setup.py\n\n***"
 if major==2 and minor1<=3:
-    try: import setuptools # setuptools monkeypatches distutils.core.Distribution to support package_data
+    # setuptools monkeypatches distutils.core.Distribution to support
+    # package_data
+    try: import setuptools 
     except ImportError:
-        raise SystemExit('matplotlib requires setup tools for installation.  Please download http://peak.telecommunity.com/dist/ez_setup.py and run it (as su if you are doing a systemwide install) to install the proper version of setuptools for your system')
+        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""")
     
 import glob
 from distutils.core import Extension, setup
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.