From 115c300af90a52d5d82c9a3e99de3c357ac53099 Mon Sep 17 00:00:00 2001 From: qdelamea Date: Thu, 21 Nov 2024 09:29:50 +0100 Subject: [PATCH] just a try --- pyproject.toml | 4 ---- setup.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0f81b82..1384d23 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,7 +58,3 @@ dev = [ [project.scripts] armonik = "armonik_cli.cli:cli" - -[tool.setuptools_scm] -version_scheme = "post-release" -version_file = "src/armonik_cli/_version.py" diff --git a/setup.py b/setup.py index f6d0c77..632a454 100644 --- a/setup.py +++ b/setup.py @@ -29,4 +29,4 @@ def get_local_schema(version: ScmVersion) -> str: return "" -setup(use_scm_version={"local_scheme": get_local_schema}) +setup(use_scm_version={"version_scheme": "post-release", "local_scheme": get_local_schema, "version_file": "src/armonik_cli/_version.py"})