Skip to content

Commit 42bdca7

Browse files
committed
Dynamic version
1 parent 7c5f701 commit 42bdca7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[project]
22
name = "cenerator"
3-
version = "0.1.4"
43
authors = [
54
{ name = "Zakru", email = "me@zakru.fi" },
65
]
@@ -17,6 +16,7 @@ classifiers = [
1716
]
1817
license = "MIT"
1918
license-files = ["LICENSE"]
19+
dynamic = ["version"]
2020

2121
[project.urls]
2222
"Source Code" = "https://github.com/Zakru/cenerator"
@@ -25,3 +25,6 @@ license-files = ["LICENSE"]
2525
[build-system]
2626
requires = ["setuptools"]
2727
build-backend = "setuptools.build_meta"
28+
29+
[tool.setuptools.dynamic]
30+
version = {attr = "cenerator.__version__"}

0 commit comments

Comments
 (0)