Skip to content

Commit 6a09af4

Browse files
committed
Migrate defining version to use hatch-vcs
1 parent a07c62c commit 6a09af4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

asdf_pydantic/__version__.py

-1
This file was deleted.

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["hatchling"]
2+
requires = ["hatchling", "hatch-vcs"]
33
build-backend = "hatchling.build"
44

55
[project]
@@ -37,7 +37,7 @@ Source = "https://github.com/ketozhang/asdf-pydantic"
3737
'asdf.extensions' = { asdf_pydantic_extension = 'asdf_pydantic.examples.extensions:get_extensions' }
3838

3939
[tool.hatch.version]
40-
path = "asdf_pydantic/__version__.py"
40+
source = "vcs"
4141

4242
# Default Environment
4343
[tool.hatch.envs.default]

0 commit comments

Comments
 (0)