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

Publish wheels to pypi #2

Closed
tobiasdiez opened this issue Oct 13, 2021 · 6 comments
Closed

Publish wheels to pypi #2

tobiasdiez opened this issue Oct 13, 2021 · 6 comments

Comments

@tobiasdiez
Copy link
Contributor

In order to make it easier to use memory_allocator, it would be nice if pre-built wheels are published to pypi.

@kliem
Copy link
Collaborator

kliem commented Oct 13, 2021

How do I do this or where is this documented?

I can obtain something like memory_allocator-0.1.1-cp38-cp38-linux_x86_64.whl, but I believe this was rejected from pypi.

@tobiasdiez
Copy link
Contributor Author

There are different ways to build wheels, but I guess cibuildwheel is the easiest. See https://cibuildwheel.readthedocs.io/en/stable/setup/#github-actions for documentation and https://github.com/pypa/cibuildwheel/blob/main/examples/github-deploy.yml for a complete example workflow including upload to pypi (personally, I would publish "on github release").

@kliem
Copy link
Collaborator

kliem commented Oct 13, 2021

I'm trying to do something like this in #3.

@kliem
Copy link
Collaborator

kliem commented Oct 14, 2021

https://github.com/sagemath/memory_allocator/actions/runs/1337870323

Does the artifact in there look like what we are aiming for?

@tobiasdiez
Copy link
Contributor Author

Yes, this looks fine! Thanks a lot

@kliem
Copy link
Collaborator

kliem commented Oct 14, 2021

Solved by merging #3.

@kliem kliem closed this as completed Oct 14, 2021
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

2 participants