use scikit_build_core as build system

This commit is contained in:
vls committed 2026-06-01 14:02:34 +02:00
1 parent 5221d6721e
commit cc7ae6d49a
7 files changed
+75 -57

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
{
cmake,
ninja,
eigen,
python3Packages,
}:
python3Packages.buildPythonPackage {
pname = "slopefit";
version = "0.1.0";
pyproject = true;
buildInputs = [ eigen ];
nativeBuildInputs = [
cmake
ninja
python3Packages.scikit-build-core
python3Packages.nanobind
];
buildPhase = ''
cd ..
pypaBuildPhase
'';
src = ./.;
}