From db30b88276a7156fdea69b24fa86dd425f015ae8 Mon Sep 17 00:00:00 2001 From: Simon Brugman Date: Thu, 25 May 2023 18:13:48 +0200 Subject: [PATCH] chore: dynamic version --- pyproject.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index acac8e03..ca0ac51f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,6 @@ build-backend = "setuptools.build_meta" [project] name = "popmon" -version = "1.4.0" description = "Monitor the stability of a pandas or spark dataset" keywords = [ "pandas", @@ -41,6 +40,7 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ] +dynamic = ["version"] [project.optional-dependencies] test = [ @@ -183,6 +183,8 @@ markers = ["spark"] [tool.semantic_release] version_variable = [ - "pyproject.toml:__version__", "popmon/version.py:version", ] + +[tool.setuptools.dynamic] +version = {attr = "popmon.__version__"} \ No newline at end of file