From ef105d310afd5076a07762fb55861c5996a3ec68 Mon Sep 17 00:00:00 2001 From: iccode17 Date: Mon, 2 Dec 2024 23:14:05 +0100 Subject: [PATCH 1/2] switch to dynamic version --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9e15a81..a708790 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ [project] name = "pathutil" -version = "0.2.0" +version = ["dynamic"] description = "Python pathlib Extended" readme = "README.md" authors = [ @@ -44,6 +44,9 @@ requires-python = ">=3.10.0,<4.0" requires = ["pdm-backend"] build-backend = "pdm.backend" +[tool.pdm.version] +source = "scm" + [tool.pdm] [tool.pdm.dev-dependencies] format = [ From b0d6c9e0944985549f9b7d3e8867d1a7441c768e Mon Sep 17 00:00:00 2001 From: iccode17 Date: Tue, 3 Dec 2024 00:01:36 +0100 Subject: [PATCH 2/2] fix typo --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a708790..7765394 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ [project] name = "pathutil" -version = ["dynamic"] +dynamic = ["version"] description = "Python pathlib Extended" readme = "README.md" authors = [