Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #9892 -- support additional binary packages for GEOS & GDAL lib…

…s on OSX & Ubuntu platforms.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d39540af92b124992e495bd3cbc1449b2a027173 1 parent 89dc5b8
Justin Bronn authored December 26, 2008
2  django/contrib/gis/gdal/libgdal.py
@@ -17,7 +17,7 @@
17 17
     lib_names = ['gdal15']
18 18
 elif os.name == 'posix':
19 19
     # *NIX library names.
20  
-    lib_names = ['gdal', 'gdal1.5.0']
  20
+    lib_names = ['gdal', 'GDAL', 'gdal1.6.0', 'gdal1.5.0', 'gdal1.4.0']
21 21
 else:
22 22
     raise OGRException('Unsupported OS "%s"' % os.name)
23 23
 
2  django/contrib/gis/geos/libgeos.py
@@ -33,7 +33,7 @@
33 33
     lib_names = ['libgeos_c-1']
34 34
 elif os.name == 'posix':
35 35
     # *NIX libraries
36  
-    lib_names = ['geos_c']
  36
+    lib_names = ['geos_c', 'GEOS']
37 37
 else:
38 38
     raise ImportError('Unsupported OS "%s"' % os.name)
39 39
 

0 notes on commit d39540a

Please sign in to comment.
Something went wrong with that request. Please try again.