Skip to content

Commit

Permalink
Update build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
pfebrer committed Aug 1, 2024
1 parent 73f6919 commit 5e7c42b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ project(${SKBUILD_PROJECT_NAME} LANGUAGES C)
find_package(
Python
COMPONENTS Interpreter Development.Module
NumPy
REQUIRED)

find_program(CYTHON "cython")
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ classifiers = [
graph2mat = "graph2mat.tools.cli.cli:app"

[build-system]
requires = ["scikit-build-core", "cython", "numpy"]
requires = [
"setuptools_scm[toml]>=6.2",
"scikit-build-core[pyproject]>=0.8",
"cython>=3",
"numpy>=2.0.0rc1"
]
build-backend = "scikit_build_core.build"

[tool.scikit-build]
Expand Down

0 comments on commit 5e7c42b

Please sign in to comment.