cookiecutter-wuttaweb/{{ cookiecutter.repo_name }}/pyproject.toml

52 lines
1.5 KiB
TOML
Raw Normal View History

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "{{cookiecutter.project_name}}"
version = "0.1.0"
description = "{{cookiecutter.project_short_description}}"
readme = "README.md"
authors = [
{name = "{{cookiecutter.full_name}}", email = "{{cookiecutter.email}}"}
]
maintainers = [
{name = "{{cookiecutter.full_name}}", email = "{{cookiecutter.email}}"}
]
classifiers = [
# TODO: remove this if you intend to publish your project
# (it's here by default, to prevent accidental publishing)
"Private :: Do Not Upload",
]
license = {text = "{{cookiecutter.open_source_license}}"}
dependencies = [
"psycopg2",
"WuttaWeb",
]
[project.scripts]
"{{cookiecutter.package_name}}" = "{{cookiecutter.package_name}}.cli:{{cookiecutter.package_name}}_typer"
[project.entry-points."paste.app_factory"]
"main" = "{{cookiecutter.package_name}}.web.app:main"
[project.entry-points."wutta.config.extensions"]
"{{cookiecutter.package_name}}" = "{{cookiecutter.package_name}}.config:{{cookiecutter.__studly_prefix}}Config"
# [project.urls]
# Homepage = "https://example.com/"
# Repository = "https://github.com/example/{{cookiecutter.repo_name}}"
# Issues = "https://github.com/example/{{cookiecutter.repo_name}}/issues"
# Changelog = "https://github.com/example/{{cookiecutter.repo_name}}/blob/master/CHANGELOG.md"
# [tool.commitizen]
# version_provider = "pep621"
# tag_format = "v$version"
# update_changelog_on_bump = true
[tool.hatch.build.targets.wheel]
packages = ["{{cookiecutter.package_name}}"]