Skip to content

Commit 7f074b2

Browse files
single source of truth for version
1 parent 4139abe commit 7f074b2

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
2-
requires = ["scikit-build-core>=0.8", "nanobind>=2.0"]
2+
requires = ["scikit-build-core>=0.10", "nanobind>=2.0"]
33
build-backend = "scikit_build_core.build"
44

55
[project]
66
name = "bioimage-cpp"
7-
version = "0.1.0"
7+
dynamic = ["version"]
88
description = "Dependency-light C++ bioimage analysis algorithms with Python bindings"
99
readme = "README.md"
1010
requires-python = ">=3.10"
@@ -52,5 +52,9 @@ sdist.exclude = [
5252
"__pycache__/",
5353
]
5454

55+
[tool.scikit-build.metadata.version]
56+
provider = "scikit_build_core.metadata.regex"
57+
input = "src/bioimage_cpp/_version.py"
58+
5559
[tool.pytest.ini_options]
5660
testpaths = ["tests"]

0 commit comments

Comments
 (0)