Use dynamic version from module
This commit is contained in:
parent
b8956bf2db
commit
8a43f1304e
|
@ -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__'
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = '0.0.1'
|
||||
VERSION = '0.0.1'
|
||||
|
|
Loading…
Reference in New Issue