--- setup.py 2008-05-31 06:55:06.000000000 -0800
+++ setup.py.new 2008-07-02 13:42:57.000000000 -0800
@@ -55,11 +55,12 @@
if GEOS_dir is None:
# if GEOS_dir not set, check a few standard locations.
- GEOS_dirs = ['/usr/local','/sw','/opt','/opt/local',os.path.expanduser('~')]
+ GEOS_dirs = ['/usr','/usr/local','/sw','/opt','/opt/local',os.path.expanduser('~')]
for direc in GEOS_dirs:
geos_version = checkversion(direc)
print 'checking for GEOS lib in %s ....' % direc
- if geos_version != '"2.2.3"':
+ if geos_version != '"3.0.3"':
+ print "geos_version mismatch",geos_version
continue
else:
print 'GEOS lib found in %s' % direc
@@ -77,6 +78,8 @@
#manually and set the variable GEOS_dir (right after the line
#that says "set GEOS_dir manually here".""")
#else:
+print numpy.get_include()
+print GEOS_dir
geos_include_dirs=[os.path.join(GEOS_dir,'include'),numpy.get_include()]
geos_library_dirs=[os.path.join(GEOS_dir,'lib'),os.path.join(GEOS_dir,'lib64')]