From: Alexander Sulfrian <asulfrian@zedat.fu-berlin.de>
Date: Wed, 8 Nov 2023 23:20:17 +0100
Subject: Replace versioningit with gernerated file

During the build process, we do not have the version information from the git
repository avialable. So we generate a static file with the correct version
number and use this as source for version metadata
---
 pyproject.toml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,5 +1,5 @@
 [build-system]
-requires = ["hatchling", "versioningit"]
+requires = ["hatchling"]
 build-backend = "hatchling.build"
 
 [project]
@@ -36,11 +36,8 @@
 [tool.hatch.version]
 source = "versioningit"
 
-[tool.versioningit]
-
-[tool.versioningit.vcs]
-method = "git"
-default-tag = "0.0.0"
+[tool.setuptools.dynamic]
+version = {file = "VERSION"}
 
 [tool.flake8]
 application-names = ["scramp"]
