Make gridtools-cpp installable from a git ref via scikit-build-core#1831
Open
havogt wants to merge 1 commit into
Open
Make gridtools-cpp installable from a git ref via scikit-build-core#1831havogt wants to merge 1 commit into
havogt wants to merge 1 commit into
Conversation
Switch the gridtools-cpp Python distribution to the scikit-build-core PEP 517
backend driven by a new root-level pyproject.toml. The backend runs the root
CMakeLists.txt on every build, installing the headers and CMake config into the
package data and reading the version from version.txt -- so the package is fully
self-contained and installs cleanly straight from a git ref with no subdirectory
and no out-of-band nox prepare step:
pip install "git+https://github.com/GridTools/gridtools.git@<ref>"
The wheel stays header-only and platform independent (py3-none-any).
- add root pyproject.toml (scikit-build-core); allowlist it in .gitignore
- move the gridtools_cpp package to src/gridtools_cpp/
- drop the now-obsolete .python_package/pyproject.toml and setup.cfg.in
- slim noxfile.py to build the root project (same session names + dist path,
so the CI workflow is unchanged) and refresh DEVELOPMENT.md
Collaborator
|
Hi there, this is jenkins continuous integration... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switch the gridtools-cpp Python distribution to the scikit-build-core PEP 517 backend driven by a new root-level pyproject.toml. The backend runs the root CMakeLists.txt on every build, installing the headers and CMake config into the package data and reading the version from version.txt -- so the package is fully self-contained and installs cleanly straight from a git ref with no subdirectory and no out-of-band nox prepare step:
The wheel stays header-only and platform independent (py3-none-any).