Skip to content

Commit 33a6f4d

Browse files
author
cortze
committed
update versioning of pyproject.toml
1 parent 699be3a commit 33a6f4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[build-system]
2-
requires = ["setuptools", "setuptools_scm"]
2+
requires = ["setuptools", "setuptools_scm", "setuptools-git-versioning"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "unit-db-test"
7+
dynamic = ["version"]
78
authors = [
89
{name = "@cortze | Mikel Cortes ", email = "[email protected]"},
910
]
@@ -18,10 +19,9 @@ dependencies = [
1819
'sqlalchemy',
1920
'pandas',
2021
]
21-
dynamic = ["version", ]
2222

23-
[tool.setuptools.dynamic]
24-
version = {attr = "unit-db-test.VERSION"}
23+
[tool.setuptools-git-versioning]
24+
enabled = true
2525

2626
[project.urls]
2727
Repository = "https://github.com/cortze/unit-db-test"

0 commit comments

Comments
 (0)