mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-05-07 23:50:02 +02:00
Co-authored-by: mazzol_a <mazzol_a@pc17378.psi.ch> Co-authored-by: Erik Fröjdh <erik.frojdh@psi.ch>
41 lines
810 B
TOML
41 lines
810 B
TOML
[tool.scikit-build.metadata.version]
|
|
provider = "scikit_build_core.metadata.regex"
|
|
input = "VERSION"
|
|
regex = '^(?P<version>\d+(?:\.\d+)*(?:[\.\+\w]+)?)$'
|
|
result = "{version}"
|
|
|
|
[build-system]
|
|
requires = ["scikit-build-core>=0.10", "pybind11", "numpy"]
|
|
build-backend = "scikit_build_core.build"
|
|
|
|
[project]
|
|
name = "aare"
|
|
dynamic = ["version"]
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"numpy",
|
|
"matplotlib",
|
|
]
|
|
|
|
|
|
[tool.cibuildwheel]
|
|
|
|
build = "cp{311,312,313}-manylinux_x86_64"
|
|
|
|
|
|
|
|
|
|
[tool.scikit-build]
|
|
build.verbose = true
|
|
cmake.build-type = "Release"
|
|
install.components = ["python"]
|
|
|
|
[tool.scikit-build.cmake.define]
|
|
AARE_PYTHON_BINDINGS = "ON"
|
|
AARE_INSTALL_PYTHONEXT = "ON"
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
markers = [
|
|
"files: marks tests that need additional data (deselect with '-m \"not files\"')",
|
|
] |