Skip to content

Commit dd0a575

Browse files
authored
fix pyproject.toml (#314)
1 parent 1e8cf94 commit dd0a575

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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "djangocms-moderation"
7-
version = "2.2.2"
7+
dynamic = [ "version" ]
88
description = "Provide moderation workflows for content in Django CMS"
99
readme = "README.rst"
1010
license = {text = "BSD"}
@@ -46,6 +46,9 @@ Repository = "https://github.com/django-cms/djangocms-moderation"
4646
Documentation = "https://github.com/django-cms/djangocms-moderation"
4747
"Bug Tracker" = "https://github.com/django-cms/djangocms-moderation/issues"
4848

49+
[tool.setuptools.dynamic]
50+
version = { attr = "djangocms_moderation.__version__" }
51+
4952
[tool.setuptools.packages.find]
5053
include = ["djangocms_moderation*"]
5154

0 commit comments

Comments
 (0)