Skip to content

Commit 911542e

Browse files
committed
Pin build backend, remove extra fields
1 parent d25bfa7 commit 911542e

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

init_template.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ class ProjectData:
3030
name: str = "module-name"
3131
module: str = "module_name"
3232
description: str = "Module Description"
33-
author_email: str = "yourname@email.invalid"
3433
author_name: str = "[YOUR NAME]"
3534
org_name: str = "[ORG NAME]"
3635
repo_name: str = "[REPO NAME]"

pyproject.toml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
[build-system]
2-
requires = ["hatchling", "hatch-vcs"]
2+
requires = ["hatchling==1.30.1"]
33
build-backend = "hatchling.build"
44

55
[project]
66
name = "module-name"
7+
version = "0.0.1"
78
requires-python = ">=3.11"
89
description = "Module Description"
910
readme = "README.md"
1011
license = "MIT"
11-
authors = [
12-
{ email = "yourname@email.invalid", name = "[YOUR NAME]" },
13-
]
14-
maintainers = []
15-
keywords = []
1612
classifiers = [
1713
"Programming Language :: Python :: 3",
1814
"Programming Language :: Python :: 3 :: Only",
1915
"Programming Language :: Python :: Implementation :: CPython",
2016
]
21-
dynamic = ["version"]
2217
dependencies = [
2318
"requests>=2.34.2",
2419
]
@@ -45,9 +40,6 @@ homepage = "https://github.com/[ORG NAME]/[REPO NAME]"
4540
# [project.scripts]
4641
# python-src-example = "module_name.sample:main"
4742

48-
[tool.hatch.version]
49-
source = "vcs"
50-
5143
[tool.black]
5244
line-length = 100
5345

0 commit comments

Comments
 (0)