mirror of
https://github.com/jazzband/django-constance.git
synced 2026-03-16 22:40:24 +00:00
Add setuptools-scm for dynamic version for scm version management (#582)
This commit is contained in:
parent
05dfb5d3cf
commit
f1d0dfcb8d
1 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue