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"})