Skip to content

Commit e234a34

Browse files
author
Jeff Whitaker
committed
Merge pull request #140 from megies/geos_c_linking
only link against geos C API on non-windows platforms
2 parents 6ee3493 + 01c2597 commit e234a34

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ version 1.0.8 (not yet released)
77
ability to fill counties with specified matplotlib color argument.
88
* fix drawgreatcircle bug so that lines exiting and reentering a projection
99
region don't draw horizontally across the map.
10+
* on non-windows platforms, only link against libgeos C API (and not against
11+
C++ API anymore; issue 140). This is recommended by the authors/maintainers
12+
of GEOS. Also, this means that on e.g. Debian Linux, basemap can now be
13+
installed from source simply using 'pip install basemap' when the libgeos
14+
packages are installed globally using the package management.
1015

1116
version 1.0.7 (git tag v1.0.7rel)
1217
---------------------------------

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def checkversion(GEOS_dir):
8383
library_dirs=geos_library_dirs,
8484
runtime_library_dirs=geos_library_dirs,
8585
include_dirs=geos_include_dirs,
86-
libraries=['geos_c','geos']))
86+
libraries=['geos_c']))
8787

8888
# Specify all the required mpl data
8989
# create pyproj binary datum shift grid files.

0 commit comments

Comments
 (0)