From 6f6f7b0bcaba2ea1d25eb798d9749bbcf870932b Mon Sep 17 00:00:00 2001 From: Alvin Noe Ladines Date: Wed, 18 Sep 2024 13:10:56 +0200 Subject: [PATCH] Change to dynamic versioning --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 68abb0b..480310c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=61.0.0", "setuptools-scm>=8.0"] build-backend = "setuptools.build_meta" [project] name = "nomad-normalizer-plugin-system" -version = "1.0" +dynamic = ["version"] description = "System normalizer plugin for NOMAD." readme = "README.md" authors = [{ name = "The NOMAD Authors" }] @@ -75,5 +75,7 @@ line-ending = "auto" [tool.setuptools.packages.find] include = ["systemnormalizer*"] +[tool.setuptools_scm] + [project.entry-points.'nomad.plugin'] systemnormalizer = "systemnormalizer:system_normalizer_entry_point"