Skip to content

Commit 931b08c

Browse files
committed
feat(build): add dynamic versioning with hatch-vcs
1 parent 7df33c8 commit 931b08c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
[build-system]
2-
requires = ["hatchling"]
2+
requires = ["hatchling", "hatch-vcs"]
33
build-backend = "hatchling.build"
44

5+
[tool.hatch.version]
6+
source = "vcs"
7+
58
[tool.hatch.build.targets.wheel]
69
packages = ["src/vidore_benchmark"]
710

811
[project]
912
name = "vidore_benchmark"
10-
version = "3.2.0"
11-
description = "Visual Document Retrieval: Benchmark"
13+
dynamic = ["version"]
14+
description = "Visual Document Retrieval (ViDoRe): Benchmark"
1215
authors = [
1316
{ name = "Tony Wu", email = "tony.wu@illuin.tech" },
1417
{ name = "Manuel Faysse", email = "manuel.faysse@illuin.tech" },

0 commit comments

Comments
 (0)