fixed pyproject

This commit is contained in:
Hazel Noack 2025-06-11 10:50:56 +02:00
parent 0fad0f33eb
commit 34d01ba2f8

View File

@ -1,22 +1,28 @@
[project] [project]
name = "$REPO_NAME" name = "$REPO_NAME"
dependencies = [] dependencies = []
dynamic = ["version"] dynamic = []
authors = [] authors = []
description = "$REPO_DESCRIPTION" description = "$REPO_DESCRIPTION"
readme = "README.md" readme = "README.md"
requires-python = ">=3.8" requires-python = ">=3.10"
classifiers = [ classifiers = [
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
] ]
license-files = [
"LICENSE"
]
[project.scripts] [project.scripts]
$REPO_NAME_KEBAB = "$REPO_NAME_SNAKE.__main__:cli" $REPO_NAME_KEBAB = "$REPO_NAME_SNAKE.__main__:cli"
[project.urls]
Homepage = "$REPO_LINK"
Issues = "$REPO_LINKissues"
[build-system] [build-system]
requires = ["hatchling", "hatch-requirements-txt"] requires = ["hatchling"]
build-backend = "hatchling.build" build-backend = "hatchling.build"
[tool.hatch.build] [tool.hatch.build]
@ -28,8 +34,5 @@ include = ["$REPO_NAME_SNAKE/*.py"]
[tool.hatch.build.targets.wheel] [tool.hatch.build.targets.wheel]
packages = ["$REPO_NAME_SNAKE"] packages = ["$REPO_NAME_SNAKE"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version] [tool.hatch.version]
path = "$REPO_NAME_SNAKE/__about__.py" path = "$REPO_NAME_SNAKE/__about__.py"