matplotlib / basemap

Plot on map projections (with coastlines and political boundaries) using matplotlib
MIT License
772 stars 390 forks source link

Ensure that _geoslib is built with MSVC 14.0 for Windows Python3 #565

Closed molinav closed 1 year ago

molinav commented 1 year ago

In the hotfix release 1.3.6 of basemap, this problem was first addressed, and after that it was possible to build geos_c.dll with MSVC 14.0 for Python 3 on Windows. However, the _geoslib module was still being built with MSVC 19.33 because of some limitation in the GitHub Action used to setup MSVC. Furthermore, the solution in 1.3.6 is not enough in case we are trying to build GEOS >= 3.6 using the GeosLibrary helper class.

This PR addresses these remaining problems and ensures that the GitHub workflows build binaries linked with MSVC 14.0 for Python 3 on Windows.