build: move package to src/ dir, update pyproject.toml
This commit is contained in:
parent
493b7c77ca
commit
749df597de
|
@ -15,11 +15,21 @@ maintainers = [
|
|||
{name = "Lance Edgar", email = "lance@wuttaproject.org"}
|
||||
]
|
||||
classifiers = [
|
||||
# TODO: remove this if you intend to publish your project
|
||||
# (it's here by default, to prevent accidental publishing)
|
||||
"Private :: Do Not Upload",
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: Pyramid",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||
"Natural Language :: English",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
]
|
||||
license = {text = "GNU General Public License v3"}
|
||||
license = {text = "GNU General Public License v3+"}
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"psycopg2",
|
||||
"WuttaWeb",
|
||||
|
@ -35,17 +45,17 @@ dependencies = [
|
|||
"sideshow" = "sideshow.config:SideshowConfig"
|
||||
|
||||
|
||||
# [project.urls]
|
||||
# Homepage = "https://example.com/"
|
||||
# Repository = "https://github.com/example/sideshow"
|
||||
# Issues = "https://github.com/example/sideshow/issues"
|
||||
# Changelog = "https://github.com/example/sideshow/blob/master/CHANGELOG.md"
|
||||
[project.urls]
|
||||
Homepage = "https://wuttaproject.org/"
|
||||
Repository = "https://forgejo.wuttaproject.org/wutta/sideshow"
|
||||
Issues = "https://forgejo.wuttaproject.org/wutta/sideshow/issues"
|
||||
Changelog = "https://forgejo.wuttaproject.org/wutta/sideshow/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 = ["sideshow"]
|
||||
packages = ["src/sideshow"]
|
||||
|
|
Loading…
Reference in a new issue