From bf74ba42404f039667da18018498c17830c4ca24 Mon Sep 17 00:00:00 2001 From: Josh Yu Date: Thu, 7 Nov 2024 15:28:00 +0800 Subject: [PATCH] fix: pyproject.toml --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8c9c06c5..ea0defd8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,9 @@ static-ace = ["djangocms-static-ace"] where = ["src"] exclude = ["tests"] +[tool.setuptools.dynamic] +version = {attr = "djangocms_snippet.__version__"} + [project.urls] "Bug Tracker" = "https://github.com/django-cms/djangocms-snippet/issues" Changelog = "https://github.com/django-cms/djangocms-snippet/blob/master/CHANGELOG.rst"