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

Switch to PDM+Meson, support modern NumPy versions #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vkoupr
Copy link

@vkoupr vkoupr commented Nov 21, 2024

This PR adds support for NumPy 1.24 and up (including 2.0+) by moving away from deprecated setup script-based numpy.distutils and switching to Meson build system and fully config-based setup instead. Since Poetry does not support alternative build backends, and its build.py script-based way of compiling extensions is undocumented and is not guaranteed to be supported in future releases, Meson setup is facilitated by using PDM as the frontend via meson-python backend.

pdm build generates sdist and wheel.

Dev dependencies (xmlrunner) are not included. Also removed obsolete modules (sla.c and headers).

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.

1 participant