Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a reusable Python package, and publish to PyPI #65

Open
mvasilkov opened this issue Dec 12, 2021 · 2 comments
Open

Make a reusable Python package, and publish to PyPI #65

mvasilkov opened this issue Dec 12, 2021 · 2 comments

Comments

@mvasilkov
Copy link

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.

@danielrh
Copy link
Collaborator

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?

@ddelange
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants