Skip to content

Commit 4778080

Browse files
jufty-botjuftin
andauthored
✨ (build): add hatchling backend (#14)
Co-authored-by: Justin Flannery <justin.flannery@juftin.com>
1 parent 9b5edd7 commit 4778080

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ task test
6666
For tasks that need additional arguments, use `--` to pass them:
6767

6868
```bash
69-
task run -- python -m browsr --help
69+
task run -- python --version
7070
```
7171

7272
You can also run tasks from subdirectories, and Task will automatically

template/docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ task test
7878
For tasks that need additional arguments, use `--` to pass them:
7979

8080
```bash
81-
task run -- python -m browsr --help
81+
task run -- python --version
8282
```
8383

8484
You can also run tasks from subdirectories, and Task will automatically

template/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["setuptools"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "{{ package_name }}"

tests/example-project/docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ task test
7878
For tasks that need additional arguments, use `--` to pass them:
7979

8080
```bash
81-
task run -- python -m browsr --help
81+
task run -- python --version
8282
```
8383

8484
You can also run tasks from subdirectories, and Task will automatically

tests/example-project/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["setuptools"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "example-project"

0 commit comments

Comments
 (0)