Skip to content

Commit d3acf2b

Browse files
committed
fix version file writing
1 parent 38fe431 commit d3acf2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ build = ["twine"]
4343

4444
[tool.hatch.version]
4545
source = "vcs"
46-
path = "sphinxcontrib/datatemplates/version.py"
46+
47+
[tool.hatch.build.hooks.vcs]
48+
version-file = "sphinxcontrib/datatemplates/version.py"
4749

4850
[tool.hatch.build.targets.sdist]
4951
include = ["sphinxcontrib/", "README.rst", "LICENSE", "pyproject.toml"]

0 commit comments

Comments
 (0)