numcodecs
numcodecs copied to clipboard
Move to pyproject.toml
It would be good to move to pyproject.toml in Numcodecs. In particular it would be nice to add build requirements (like Cython) and setup_requires to pyproject.toml.
This should also allow us to do things like dropped the vendored C files, which cause us some pain periodically ( https://github.com/zarr-developers/numcodecs/pull/358#issuecomment-1281371763 ). Plus drop some of the complexity in setup.py.
FWIW this was done for Zarr in PR ( https://github.com/zarr-developers/zarr-python/pull/1158 ).
cc @Saransh-cpp @joshmoore
This might get a bit tricky because of the Cython code. I'll try to look into this!
Yep that's definitely true. Even an incremental move or moving most things over would be a welcome improvement 🙂
Thanks, @Saransh-cpp. 🙏🏽
We have the beginnings of a pyproject.toml with PR ( https://github.com/zarr-developers/numcodecs/pull/369 ). Though more work in this area would be welcome 🙂
cc @DimitriPapadopoulos (in case this is of interest as well)
Submitted PR ( https://github.com/zarr-developers/numcodecs/pull/382 ), which moves as much as we can to pyproject.toml. Not sure if there is anything else we can move (though feedback on that would be welcome). Also am familiarizing myself with the process so may well have missed things that others will catch.
There may be small follow up things that come up. Would suggest raising them in new issues. Thanks all! 🙏