From f48f90ffc68cbb6b364862267e0bc89a642bb149 Mon Sep 17 00:00:00 2001 From: Tobias Megies Date: Mon, 10 Mar 2014 12:43:34 +0100 Subject: [PATCH 1/2] only link against geos C API on non-windows platforms (and not against C++ library) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 151003dd1..2c23f7bf1 100644 --- a/setup.py +++ b/setup.py @@ -83,7 +83,7 @@ def checkversion(GEOS_dir): library_dirs=geos_library_dirs, runtime_library_dirs=geos_library_dirs, include_dirs=geos_include_dirs, - libraries=['geos_c','geos'])) + libraries=['geos_c'])) # Specify all the required mpl data # create pyproj binary datum shift grid files. From 01c2597fc49e7823a638611110a905d0671ba973 Mon Sep 17 00:00:00 2001 From: Tobias Megies Date: Tue, 11 Mar 2014 13:16:43 +0100 Subject: [PATCH 2/2] changelog --- Changelog | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Changelog b/Changelog index c33b5066e..b1d25388f 100644 --- a/Changelog +++ b/Changelog @@ -6,6 +6,11 @@ version 1.0.8 (not yet released) ability to fill counties with specified matplotlib color argument. * fix drawgreatcircle bug so that lines exiting and reentering a projection region don't draw horizontally across the map. +* on non-windows platforms, only link against libgeos C API (and not against + C++ API anymore; issue 140). This is recommended by the authors/maintainers + of GEOS. Also, this means that on e.g. Debian Linux, basemap can now be + installed from source simply using 'pip install basemap' when the libgeos + packages are installed globally using the package management. version 1.0.7 (git tag v1.0.7rel) ---------------------------------