Skip to content

Commit b2d3e96

Browse files
committed
Use hatch-vcs
1 parent ff9be3c commit b2d3e96

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pyproject.toml

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

55
[project]
66
name = "soroban"
7-
version = "0.2.0"
7+
dynamic = ["version"]
88
description = "CLI for Soroban contracts in Python"
99
readme = "README.md"
1010
requires-python = ">=3.11"
@@ -74,6 +74,7 @@ documentation = "https://github.com/tupui/soroban-cli-python"
7474
source = "https://github.com/tupui/soroban-cli-python"
7575

7676
[tool.hatch]
77+
version.source = "vcs"
7778
build.targets.wheel.packages = ["src/soroban"]
7879
build.targets.sdist.exclude = [
7980
".github",

0 commit comments

Comments
 (0)