From ad52f59f14c6e8b09a890ccd07a3b2a7ae30d768 Mon Sep 17 00:00:00 2001 From: Gregor Sturm Date: Tue, 1 Oct 2024 14:35:08 +0200 Subject: [PATCH] Switch to dynamic versioning --- pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5e7aaa9..ce2c561 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] build-backend = "hatchling.build" -requires = [ "hatchling" ] +requires = [ "hatchling", "hatch-vcs" ] [project] name = "dso" -version = "0.8.2" +dynamic = ["version"] description = "Data Science Operations on top of dvc" readme = "README.md" license = { file = "LICENSE" } @@ -68,6 +68,9 @@ urls.Source = "https://github.com/Boehringer-Ingelheim/dso" scripts.dso = "dso:cli" scripts.dso_pandocfilter = "dso.pandocfilter:main" +[tool.hatch.version] +source = "vcs" + [tool.ruff] line-length = 120 src = [ "src" ]