From 8a79546754c049699f04691ed72eed90a21f2f95 Mon Sep 17 00:00:00 2001 From: Cristian Pozo Gonzalez Date: Thu, 10 Oct 2024 00:35:21 +0200 Subject: [PATCH] Add tool.setuptools_scm section to the pyproyect.toml --- pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 801236b..04b8ef0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,11 @@ requires = ["setuptools >= 40.6.0", "wheel", "setuptools_scm[toml]>=3.4"] build-backend = "setuptools.build_meta" +[tool.setuptools_scm] +version_scheme = "post-release" +local_scheme = "no-local-version" +write_to = "ptiming_ana/_version.py" + [project.optional-dependencies] dev = ['pre-commit~=3.8.0']