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

Add build wheeel on CI using cibuildwheel and modernize metadata #147

Merged
merged 15 commits into from Apr 17, 2024

Conversation

Czaki
Copy link
Contributor

@Czaki Czaki commented Mar 27, 2024

In this PR I have added pyproject.toml with information about required packages bu build wheel (section build-system). This will alow to install mahotas with pip install mahotas even when wheels are not available.

This PR also adds cibuildwheel with proper workflow and configuration.

I have decided to not build wheels for musllinux, pypy in version 3.7 and 3.10 and 32-bits manylinux because of lack of numpy wheels.

I also need to disable testing on 32-bits windows and pypy because of lack of scipy wheels (it may be possible to fix this, but it will drastically increase build time).

I have also added steep for automatically upload wheels for PyPI. It will require additional configuration described here: https://docs.pypi.org/trusted-publishers/adding-a-publisher/

I have modified test_extras to remove freeimage from it, as it does not exist on pypi.

Suppress #139

@luispedro luispedro merged commit e19a262 into luispedro:master Apr 17, 2024
6 checks passed
@luispedro
Copy link
Owner

Sorry for the delay in handling this. Merged now! Thank you!

luispedro added a commit that referenced this pull request Apr 17, 2024
ChangeLog
* Update build system (thanks to @Czaki, see #147)
@luispedro luispedro mentioned this pull request Apr 17, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants