From 641c02d7c3ba5a4a229f63a1e11ccc53e5989118 Mon Sep 17 00:00:00 2001 From: Tim Monko Date: Fri, 1 Aug 2025 16:49:57 -0500 Subject: [PATCH 1/4] use hatch for build --- pyproject.toml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2a5d1cb..9655dbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,8 +50,5 @@ dev = [ "User Support" = "https://github.com/ndev-kit/docs/issues" [build-system] -requires = ["setuptools>=42.0.0", "setuptools_scm"] -build-backend = "setuptools.build_meta" - -[tool.setuptools] -py-modules = [] +requires = ["hatchling", "hatch-vcs"] +build-backend = "hatchling.build" From 9585740ca3ee34bb81813ed2438affb6918cef35 Mon Sep 17 00:00:00 2001 From: Tim Monko Date: Fri, 1 Aug 2025 16:55:03 -0500 Subject: [PATCH 2/4] use dev dependency group --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9655dbb..a0f9567 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ dependencies = [ "mkdocs-multirepo-plugin", # For fetching docs from multiple repos ] -[project.optional-dependencies] +[dependency-groups] dev = [ "pre-commit", ] From bed113ca07625613ad411b8c47c07b6d9f254c22 Mon Sep 17 00:00:00 2001 From: Tim Monko Date: Fri, 1 Aug 2025 16:56:48 -0500 Subject: [PATCH 3/4] add version for hatch --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a0f9567..a952cf2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,3 +52,6 @@ dev = [ [build-system] requires = ["hatchling", "hatch-vcs"] build-backend = "hatchling.build" + +[tool.hatch.version] +source = "vcs" From 73eb416e8069b4583a70e286f0f722096d6b62fb Mon Sep 17 00:00:00 2001 From: Tim Monko Date: Fri, 1 Aug 2025 16:58:11 -0500 Subject: [PATCH 4/4] remove build system entirely --- pyproject.toml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a952cf2..1fe50f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,10 +48,3 @@ dev = [ "Documentation" = "https://github.com/ndev-kit/docs#README.md" "Source Code" = "https://github.com/ndev-kit/docs" "User Support" = "https://github.com/ndev-kit/docs/issues" - -[build-system] -requires = ["hatchling", "hatch-vcs"] -build-backend = "hatchling.build" - -[tool.hatch.version] -source = "vcs"