From 11bd3aa46c5cbb077e39f39d3ef8c96758dbb91b Mon Sep 17 00:00:00 2001 From: Justin Flannery Date: Sun, 2 Aug 2026 19:43:57 -0600 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(build):=20add=20Hatchling=20backen?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/contributing.md | 2 +- template/docs/contributing.md | 2 +- template/pyproject.toml | 4 ++-- tests/example-project/docs/contributing.md | 2 +- tests/example-project/pyproject.toml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/contributing.md b/docs/contributing.md index a8f68db..a35dad8 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -66,7 +66,7 @@ task test For tasks that need additional arguments, use `--` to pass them: ```bash -task run -- python -m browsr --help +task run -- python --version ``` You can also run tasks from subdirectories, and Task will automatically diff --git a/template/docs/contributing.md b/template/docs/contributing.md index 7a74eed..170d9c9 100644 --- a/template/docs/contributing.md +++ b/template/docs/contributing.md @@ -78,7 +78,7 @@ task test For tasks that need additional arguments, use `--` to pass them: ```bash -task run -- python -m browsr --help +task run -- python --version ``` You can also run tasks from subdirectories, and Task will automatically diff --git a/template/pyproject.toml b/template/pyproject.toml index e4b1631..c69e502 100644 --- a/template/pyproject.toml +++ b/template/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools"] -build-backend = "setuptools.build_meta" +requires = ["hatchling"] +build-backend = "hatchling.build" [project] name = "{{ package_name }}" diff --git a/tests/example-project/docs/contributing.md b/tests/example-project/docs/contributing.md index 7a74eed..170d9c9 100644 --- a/tests/example-project/docs/contributing.md +++ b/tests/example-project/docs/contributing.md @@ -78,7 +78,7 @@ task test For tasks that need additional arguments, use `--` to pass them: ```bash -task run -- python -m browsr --help +task run -- python --version ``` You can also run tasks from subdirectories, and Task will automatically diff --git a/tests/example-project/pyproject.toml b/tests/example-project/pyproject.toml index 223e800..d50b0ee 100644 --- a/tests/example-project/pyproject.toml +++ b/tests/example-project/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools"] -build-backend = "setuptools.build_meta" +requires = ["hatchling"] +build-backend = "hatchling.build" [project] name = "example-project"