diff --git a/pyproject.toml b/pyproject.toml index 296b0e1..bf011c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["setuptools>=42", "wheel"] +requires = ["setuptools>=42", "wheel", "setuptools_scm>=8"] build-backend = "setuptools.build_meta" [project] name = "django-constance" -version = "4.1.0" +dynamic = ["version"] description = "Django live settings with pluggable backends, including Redis." readme = "README.rst" license = { text = "BSD" } @@ -52,6 +52,9 @@ changelog = "https://github.com/jazzband/django-constance/releases/" [tool.setuptools.packages.find] include = ["constance*"] +[tool.setuptools_scm] +version_file = "constance/_version.py" + [tool.ruff] line-length = 120 indent-width = 4