isciences / exactextract

Fast and accurate raster zonal statistics
Apache License 2.0
233 stars 31 forks source link

Python: availability on PyPI #84

Closed martinfleis closed 3 months ago

martinfleis commented 4 months ago

Hi, Thanks a lot for the work on Python bindings. I am wondering if there are some plans to publish the package on PyPI (and possibly conda-forge but I'm happy to help with that on PyPI is available)? I'd like to use exactextract as alternative backend on zonal stats functionality of xvec but for that would assume that users can just pip install the wheel.

I am completely aware that Python packaging and wheel building is a pain so I understand if you don't want to go that way but it'd be nice top know what the situation is.

Thanks!

JakubCha commented 4 months ago

Hi Dan, Martin, I would also like to see the package published on PyPI as it would greatly help me to push QGIS plugin (exactextract_qgis) I created recently into production state.

Thank you

dbaston commented 4 months ago

I'm happy to publish wheels to PyPI if I can figure out how to do so. I'm intending to look into cibuildwheel but haven't got to it yet.

vincentsarago commented 4 months ago

FYI: I've started some exploratory work with cibuildwheel over https://github.com/vincentsarago/exactextract/pull/1

dbaston commented 4 months ago

Wow, thank you @vincentsarago !

vincentsarago commented 4 months ago

Well to be honest, I ended up copy/pasting most of https://github.com/shapely/shapely/blob/e344003a4a2c9002986f54e03e30fed645f7f2ac/.github/workflows/release.yml#L49-L157 😅

dbaston commented 3 months ago

A development snapshot is available at https://pypi.org/project/exactextract/0.2.0.dev0/