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

BLD: Use scikit-build for Python packaging #100

Merged
merged 3 commits into from
Jun 1, 2024

Conversation

DWesl
Copy link
Contributor

@DWesl DWesl commented May 31, 2024

Scikit-build (technically the rewrite scikit-build-core) is built on CMake, which would seem to mesh well with the rest of the project. This also gets the python bindings built on my platform.

Building the python packages changes from python setup.py sdist bdist_wheel to python -m build ., though python -m pip install . will still work fine.

DWesl added 3 commits May 30, 2024 00:43
Setuptools isn't designed for CMake projects.
scikit-build is.
It's even designed to use already installed CMake and Ninja if available.
keywords copied from GitHub keywords.
classifiers inspired by that list.
I didn't actually change anything in the CMakeFile,
so the old version should still work.
@tim-gromeyer
Copy link
Owner

Thank you for your submission!

Before merging this, I need to test how well it integrates with the build pipeline (.github/workflows/wheels.yml) and if it need modification

@tim-gromeyer
Copy link
Owner

Seems to integrate well, lets merge

@tim-gromeyer tim-gromeyer merged commit 43c0981 into tim-gromeyer:main Jun 1, 2024
4 checks passed
@DWesl DWesl deleted the python-to-scikit-build branch June 1, 2024 19:40
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.

2 participants