geonotebook
geonotebook copied to clipboard
Pip-installable version for python-mapnik
Hello, do you guys have any idea on how hard would it be to have the pip instalable bindings for python mapnik. Just to give me some pointers so I can do it (or else, not do, if it's completely unfeasible)
It would be theoretically possible, but not easy. An effort was recently undertaken to make ITK's python binding pip installable. The results of that are in https://github.com/InsightSoftwareConsortium/ITKPythonPackage. I don't know much about how it works, but I think it relies heavily on the fact that ITK is built with CMake. If you want to pursue it, @jcfr and @thewtex could probably fill in more details for you.
ITK's Python packaging uses a Python package called scikit-build to make packaging of Python C extensions built with CMake possible. We would be happy to see it utilized by other projects!
@tiagofassoni FWIW locally I build a wheel from python-mapnik's source code and then use that to install across different development/review environments. The wheel can't really be distributed, but it does save time on building from source