initial template for app based on wuttaweb
with e.g. `poser install` command
This commit is contained in:
commit
46b33a622f
18 changed files with 344 additions and 0 deletions
51
{{ cookiecutter.repo_name }}/pyproject.toml
Normal file
51
{{ cookiecutter.repo_name }}/pyproject.toml
Normal file
|
@ -0,0 +1,51 @@
|
|||
|
||||
[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}}"]
|
Loading…
Add table
Add a link
Reference in a new issue