Better versionning

This commit is contained in:
2025-12-05 16:46:44 +01:00
parent cef6886fd2
commit b26a6a2d0a
4 changed files with 7 additions and 1 deletions

View File

@@ -4,7 +4,9 @@ import logging
import json
import sys
VERSION = "4.0.2"
# Read version from VERSION file
with open(os.path.join(os.path.dirname(os.path.dirname(__file__)), "VERSION"), "r", encoding="utf-8") as f:
VERSION = f.read().strip()
# Logger setup
logging.basicConfig(