python-project/pyproject.toml
2024-06-07 12:22:34 +02:00

36 lines
774 B
TOML

[project]
name = "$REPO_NAME"
dependencies = []
dynamic = ["version"]
authors = []
description = "$REPO_DESCRIPTION"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
[project.scripts]
$REPO_NAME_KEBAB = "$REPO_NAME_SNAKE.__main__:cli"
[build-system]
requires = ["hatchling", "hatch-requirements-txt"]
build-backend = "hatchling.build"
[tool.hatch.build]
directory = "dist"
[tool.hatch.build.targets.sdist]
include = ["$REPO_NAME_SNAKE/*.py"]
[tool.hatch.build.targets.wheel]
packages = ["$REPO_NAME_SNAKE"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
path = "$REPO_NAME_SNAKE/__about__.py"