Revision: 4280
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4280&view=rev
Author:   jswhit
Date:     2007-11-14 10:22:01 -0800 (Wed, 14 Nov 2007)

Log Message:
-----------
more tweaking of error messages.

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

Modified: trunk/toolkits/basemap-testing/setup.py
===================================================================
--- trunk/toolkits/basemap-testing/setup.py     2007-11-14 18:11:07 UTC (rev 
4279)
+++ trunk/toolkits/basemap-testing/setup.py     2007-11-14 18:22:01 UTC (rev 
4280)
@@ -36,7 +36,12 @@
     try:
         f = open(os.path.join(GEOS_dir,'include/geos_c.h'))
     except:
-        raise IOError('cannot find geos header file in %s/include'%GEOS_dir)
+        msg = """
+Cannot find geos header file (geos_c.h) in %s/include.  Please check
+your geos installation and make sure the GEOS_DIR environment
+variable is set correctly""" %GEOS_dir
+        print msg
+        raise SystemExit(1)
     geos_version = None
     for line in f:
         if line.startswith('#define GEOS_VERSION'):


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to