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:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user