From e66b5357a4b1568423a70071dc8a3a6d014fb760 Mon Sep 17 00:00:00 2001 From: syrf109475 <85820741+syrf109475@users.noreply.github.com> Date: Sun, 21 Dec 2025 14:54:52 +0800 Subject: [PATCH] Add versioning configuration to pyproject.toml Fix "ValueError: Missing `tool.hatch.version` configuration" when using pip install --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index c637b1d..20c02bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,3 +22,6 @@ include = [ "cloudflare_error_page/*.py", "cloudflare_error_page/templates/*", ] + +[tool.hatch.version] +path = "cloudflare_error_page/__init__.py"