Skip to content

Commit 76fbc37

Browse files
committed
fix
1 parent 51b4eb5 commit 76fbc37

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ __pycache__
1919

2020
*.egg-info
2121

22+
# Auto-generated version file
23+
toolchain/mfc/_version.py
24+
2225
.DS_Store
2326

2427
/tests/*/**

toolchain/pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,10 @@ allow-direct-references = true
6060
[tool.hatch.version]
6161
source = "vcs"
6262

63+
[tool.hatch.version.raw-options]
64+
root = ".."
65+
relative_to = "pyproject.toml"
66+
version_file = "mfc/_version.py"
67+
6368
[tool.hatch.build.hooks.vcs]
6469
version-file = "mfc/_version.py"

0 commit comments

Comments
 (0)