mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-06-19 00:21:44 +02:00
48 lines
1.0 KiB
TOML
48 lines
1.0 KiB
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 = "slsdet"
|
|
dynamic = ["version"]
|
|
dependencies = [
|
|
"numpy",
|
|
]
|
|
|
|
[project.scripts]
|
|
sls_detector_get = "slsdet.cli:get"
|
|
sls_detector_put = "slsdet.cli:put"
|
|
sls_detector_acquire = "slsdet.cli:acquire"
|
|
slsReceiver = "slsdet.cli:receiver"
|
|
|
|
[tool.cibuildwheel]
|
|
before-all = "uname -a"
|
|
build = "cp{311,312,313,314}-manylinux_x86_64"
|
|
|
|
[tool.scikit-build.build]
|
|
verbose = true
|
|
|
|
|
|
[tool.scikit-build.cmake]
|
|
build-type = "Release"
|
|
|
|
[tool.scikit-build.install]
|
|
components = [ "python","cli", "receiver"]
|
|
|
|
[tool.scikit-build.cmake.define]
|
|
SLS_USE_RECEIVER = "ON"
|
|
SLS_USE_RECEIVER_BINARIES = "ON"
|
|
SLS_USE_TEXTCLIENT = "ON"
|
|
SLS_BUILD_SHARED_LIBRARIES = "OFF"
|
|
SLS_USE_PYTHON = "ON"
|
|
SLS_INSTALL_PYTHONEXT = "ON"
|
|
CMAKE_INSTALL_BINDIR = "slsdet/data/bin"
|
|
|
|
|