Skip to content

Commit 924cf79

Browse files
committed
fix: Dynamic version in pyproject.toml
1 parent 49e0791 commit 924cf79

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "djangocms-attributes-field"
3-
version = "4.1.0"
3+
dynamic = ["version"]
44
description = "Adds attributes to Django models."
55
authors = [
66
{name = "Divio AG", email = "[email protected]"},
@@ -49,6 +49,10 @@ Repository = "https://github.com/django-cms/djangocms-attributes-field/"
4949
[build-system]
5050
requires = ["setuptools>=45", "wheel"]
5151
build-backend = "setuptools.build_meta"
52+
53+
[tool.setuptools.dynamic]
54+
version = { attr = "djangocms_attributes_field.__version__" }
55+
5256
[tool.setuptools.packages.find]
5357
include = ["djangocms_attributes_field*"]
5458

0 commit comments

Comments
 (0)