Skip to content

Commit f5bb2bf

Browse files
committed
Project versioning: Configure versioningit with Hatch
crate-2.0.0.post42+g1c30e65.d20251220.tar.gz crate-2.0.0.post42+g1c30e65.d20251220-py3-none-any.whl
1 parent 1c30e65 commit f5bb2bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[build-system]
2-
requires = ["hatchling >= 1.26"]
2+
requires = ["hatchling >= 1.26", "versioningit"]
33
build-backend = "hatchling.build"
44

55
[tool.hatch.build.targets.wheel]
66
packages = ["src/crate"]
77

88
[tool.hatch.version]
9-
path = "src/crate/client/__init__.py"
9+
source = "versioningit"
10+
default-version = "0.0.0+unknown"
1011

1112
[project]
1213
name = "crate"

0 commit comments

Comments
 (0)