-
Notifications
You must be signed in to change notification settings - Fork 55
Description
I have been going through a few imaging packages to try and get them converted to a Python package rather than just available by source or through conda, to help make them easier to install, and also hopefully simplifying the code.
For this package, the path to this I would go on is to convert the C code into a c extension using nanobind or something similar, and then using the build backend scikit-build-core to handle the compilation of the c-extension. This wouldn't be too difficult to do(I am doing a similar thing for CIL and successfully finished that step as part of a PR), and would eventually allow the code to be cleaned up quite a bit.
From there, it should be quite easy to make a wheel and upload to PyPI. It also seems to be possible to generate a conda recipe from the pypi package, though I haven't made this step yet for anything.
I'm making this issue to ask if you'd want to go down this path