Use dynamic version from module

This commit is contained in:
László Károlyi 2024-02-15 13:30:34 +01:00
parent b8956bf2db
commit 8a43f1304e
Signed by: karolyi
GPG Key ID: 2DCAF25E55735BFE
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ build-backend = 'setuptools.build_meta'
[tool.setuptools.dynamic]
dependencies = { file = ['requirements.txt'] }
version = { attr = 'daneupdate.VERSION' }
[project.scripts]
daneupdate = 'daneupdate:__main__'

View File

@ -1 +1 @@
__version__ = '0.0.1'
VERSION = '0.0.1'