build: move package to src/
subdir
and cleanup `pyproject.toml` a bit
This commit is contained in:
parent
38ff3062c5
commit
eaa211aa96
|
@ -9,8 +9,9 @@ name = "Wutta-Demo"
|
|||
version = "0.1.0"
|
||||
description = ""
|
||||
readme = "README.md"
|
||||
authors = [{name = "Your Name", email = "you@example.com"}]
|
||||
keywords = ["Wutta Demo"]
|
||||
authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}]
|
||||
license = {text = "GNU GPL v3+"}
|
||||
keywords = ["Wutta"]
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Environment :: Web Environment",
|
||||
|
@ -19,21 +20,11 @@ classifiers = [
|
|||
"Natural Language :: English",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
|
||||
# TODO: remove this if you intend to publish your project
|
||||
# (it's here by default, to prevent accidental publishing)
|
||||
"Private :: Do Not Upload",
|
||||
]
|
||||
# requires-python = ">= 3.9"
|
||||
dependencies = [
|
||||
"psycopg2",
|
||||
"Wutta-Continuum",
|
||||
"WuttaWeb",
|
||||
|
||||
# TODO: these may be needed to build/release package
|
||||
#'build',
|
||||
#'invoke',
|
||||
#'twine',
|
||||
]
|
||||
|
||||
|
||||
|
@ -42,25 +33,25 @@ wuttademo = "wuttademo.commands:wuttademo_typer"
|
|||
|
||||
|
||||
[project.entry-points."wutta.config.extensions"]
|
||||
|
||||
"wuttademo" = "wuttademo.config:WuttaDemoConfig"
|
||||
[project.entry-points."paste.app_factory"]
|
||||
|
||||
|
||||
[project.entry-points."paste.app_factory"]
|
||||
"main" = "wuttademo.web.app:main"
|
||||
|
||||
|
||||
# [project.urls]
|
||||
# Homepage = "https://example.com/"
|
||||
# Repository = "https://github.com/example/wuttademo"
|
||||
# Issues = "https://github.com/example/wuttademo/issues"
|
||||
# Changelog = "https://github.com/example/wuttademo/blob/master/CHANGELOG.md"
|
||||
[project.urls]
|
||||
Homepage = "https://wuttaproject.org/"
|
||||
Repository = "https://forgejo.wuttaproject.org/wutta/wutta-demo"
|
||||
Issues = "https://forgejo.wuttaproject.org/wutta/wutta-demo/issues"
|
||||
Changelog = "https://forgejo.wuttaproject.org/wutta/wutta-demo/src/branch/master/CHANGELOG.md"
|
||||
|
||||
|
||||
# [tool.commitizen]
|
||||
# version_provider = "pep621"
|
||||
# tag_format = "v$version"
|
||||
# update_changelog_on_bump = true
|
||||
[tool.commitizen]
|
||||
version_provider = "pep621"
|
||||
tag_format = "v$version"
|
||||
update_changelog_on_bump = true
|
||||
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["wuttademo"]
|
||||
packages = ["src/wuttademo"]
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue