rust-brotli
rust-brotli copied to clipboard
Make a reusable Python package, and publish to PyPI
What an incredibly useful library!
Seeing how there's already the Python bindings, maybe it's possible to package and put on PyPI?
In case it's already there, please disregard — I tried search, to no avail.
That's a cool idea...is there a step-by-step guide on how to do this? Especially for a ffi/so lib like this one?
I think you can pretty much just take these workflows as an example: https://github.com/ijl/orjson/tree/3.8.5/.github/workflows which use PyO3/maturin-action
to cross-compile.
the resulting wheels https://pypi.org/project/orjson/3.8.5/#files cover the most used architectures: musslinux (alpine in x86_64, arm64==aarch64), manylinux (x86_64, arm64), mac (x86_64, arm64), win