changed | /trunk/matplotlib/README |
changed | /trunk/matplotlib/setup.py |
--- 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
--- 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