Conversation
Move shapely/libgeos.py to shapely/_buildcfg.py. It's only ever imported by setup.py when building distributions.
This means checking for imports of fiona or rasterio and trying CDLL with DTLD_NOLOAD before falling back to the local copy of the DLL.
Plus log format tweaks.
|
This PR also fixes #324. The script in Toblerity/Fiona#276 succeeds now, no matter whether you import fiona or shapely first. If fiona has already been imported, we try to reuse a DLL we find in its @snorfalorpagus @mwtoews I would very much appreciate your 👀 on this. Getting a 1.5.13 release out soon would be a huge relief for me. This issue has been bugging me for tooooo long. /cc @schwehr because you've recently filed a related issue. |
|
And now we reuse any GEOS DLL that we can find already loaded on OS X, not just when the shapely module has its own This is ready to be merged. |
|
Barring objections, I'll merge this after lunch and release 1.5.13. |
Restore shapely/geos.py to state at 1.5.9
|
Changes Unknown when pulling ac31260 on issue325 into ** on maint-1.5**. |
And move shapely/libgeos.py to shapely/_buildcfg.py. Now it's only ever imported by setup.py when building distributions.
Closes #325.
Status: 30%