From 720003b362e3451a0c711540b412c9b8e4163b31 Mon Sep 17 00:00:00 2001 From: Phil Starkey Date: Mon, 2 Nov 2020 15:57:33 +1100 Subject: [PATCH] Removes setuptools_scm configuration from pyproject.toml #70 introduced changes to the pyproject.toml file. These settings supersede those in setup.py, and cannot depend on environment variables. However, we need to suppress the local version when building for test PyPI (but not when running locally). As such, I see no way to utilise pyproject.toml for these settings, and am reverting to using the configuration specified in setup.py (restored in #71) --- pyproject.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3a1c62a..c72bd8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,3 @@ [build-system] requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=4.1.0"] build-backend = "setuptools.build_meta" - -[tool.setuptools_scm] -version_scheme = "release-branch-semver" -local_scheme = "node-and-date"