9
0
mirror of https://github.com/donlon/cloudflare-error-page.git synced 2025-12-19 14:59:28 +00:00

python: use dynamic package version

This commit is contained in:
Anthony Donlon
2025-12-16 22:49:06 +08:00
parent 58bf0d6b79
commit 245f5b1f6d
2 changed files with 2 additions and 2 deletions

View File

@@ -106,5 +106,5 @@ def render(params: ErrorPageParams,
return template.render(params=params, *args, **kwargs)
__version__ = "0.1.0"
__all__ = ['default_template', 'render']

View File

@@ -4,7 +4,6 @@ build-backend = "hatchling.build"
[project]
name = "cloudflare-error-page"
version = "0.1.0"
description = "A customizable Cloudflare error page generator"
authors = [{ name = "Anthony Donlon" }]
license = { text = "MIT" }
@@ -13,6 +12,7 @@ requires-python = ">=3.10"
dependencies = [
"jinja2>=3.0"
]
dynamic = [ "version" ]
[project.urls]
Homepage = "https://github.com/donlon/cloudflare-error-page"