Added the "VERSION" constant to the "flask_digest_auth" module for the package version, and revised "pyproject.toml" and "conf.py" to read the version from it.

This commit is contained in:
2023-04-23 22:14:33 +08:00
parent 769ca7dddd
commit cedff68247
3 changed files with 9 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
[project]
name = "Flask-DigestAuth"
version = "0.5.0"
dynamic = ["version"]
description = "The Flask HTTP Digest Authentication project."
readme = "README.rst"
requires-python = ">=3.7"
@@ -51,3 +51,6 @@ test = [
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "flask_digest_auth.VERSION"}