gis-ops / pyvalhalla

High-level Python bindings to the Valhalla routing framework.
GNU General Public License v2.0
67 stars 5 forks source link

Link protobuf statically #14

Closed nilsnolde closed 2 years ago

nilsnolde commented 2 years ago

WIP

this will allow the python bindings to link to a static protobuf library which will circumvent problems with the qgis python console. it's a little patchy still, at some point we might want to include tile building and depend on spatialite which will cause the same problem. there's a good chance though that spatialite static is in debian's package manager and is compiled with position-independent-code :crossed_fingers:

still needs:

nilsnolde commented 2 years ago

so this seems to work for linux now. I'll push the manylinux package for python 3.10 to the network analyst repo, so we have smth to work with in dev. adding macos and win can come later, but should happen before we push to master.

nilsnolde commented 2 years ago

valhalla was also updated to the latest commit