From 61a414e3acd60000ebe48a0780bdd85fd384c35d Mon Sep 17 00:00:00 2001 From: bronsen <kontakt+gitcommit@nrrd.de> Date: Tue, 18 Mar 2025 11:35:16 +0100 Subject: [PATCH] [project meta,pdm] move version information to config package --- VERSION.py | 3 --- config/__init__.py | 3 +++ pyproject.toml | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 VERSION.py diff --git a/VERSION.py b/VERSION.py deleted file mode 100644 index 5b3bd62..0000000 --- a/VERSION.py +++ /dev/null @@ -1,3 +0,0 @@ -# calver schema YYYY.0M.Micro (see also https://calver.org/#scheme) - -__version__ = "2025.03.3" diff --git a/config/__init__.py b/config/__init__.py index e69de29..5b3bd62 100644 --- a/config/__init__.py +++ b/config/__init__.py @@ -0,0 +1,3 @@ +# calver schema YYYY.0M.Micro (see also https://calver.org/#scheme) + +__version__ = "2025.03.3" diff --git a/pyproject.toml b/pyproject.toml index 667696a..2fc02cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,6 @@ show_missing = true [tool.coverage.run] omit = [ "*/migrations/*", - "VERSION.py", "manage.py", "config/[aw]sgi.py", ] @@ -49,4 +48,4 @@ build-backend = "pdm.backend" [tool.pdm.version] source = "file" -path = "./VERSION.py" +path = "config/__init__.py"