Skip to content

Commit 84fa59e

Browse files
committed
wip hatch-vcs
1 parent 9cd21d1 commit 84fa59e

File tree

2 files changed

+608
-4
lines changed

2 files changed

+608
-4
lines changed

pyproject.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[project]
22
name = "e3tools"
3-
version = "0.0.1"
43
description = "Add your description here"
54
readme = "README.md"
5+
dynamic = ["version"]
66
authors = [
77
{ name = "Joseph Kleinhenz", email = "kleinhej@gene.com" }
88
]
@@ -14,13 +14,22 @@ dependencies = [
1414
]
1515

1616
[build-system]
17-
requires = ["hatchling"]
17+
requires = ["hatchling", "hatch-vcs"]
1818
build-backend = "hatchling.build"
1919

2020
[dependency-groups]
2121
dev = [
22+
"hatch>=1.14.0",
2223
"pytest>=8.3.4",
2324
]
2425

2526
[tool.ruff.lint]
2627
ignore = ["F722"]
28+
29+
[tool.hatch.version]
30+
source = "vcs"
31+
32+
[tool.hatch.version.raw-options]
33+
version_scheme = "no-guess-dev"
34+
fallback_version = "0.0.0"
35+
local_scheme = "no-local-version" # see https://github.com/pypa/setuptools-scm/issues/455

0 commit comments

Comments
 (0)