feat: switch from setup.cfg to pyproject.toml + hatchling
This commit is contained in:
parent
95e89a6081
commit
3af49e2e62
5 changed files with 71 additions and 128 deletions
60
pyproject.toml
Normal file
60
pyproject.toml
Normal file
|
@ -0,0 +1,60 @@
|
|||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
|
||||
[project]
|
||||
name = "rattail-tutorial"
|
||||
version = "0.1.0"
|
||||
description = "Rattail Development Tutorial"
|
||||
readme = "README.rst"
|
||||
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
||||
license = {text = "GNU GPL v3+"}
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Environment :: Console",
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: Pyramid",
|
||||
"Intended Audience :: Developers",
|
||||
"Natural Language :: English",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Topic :: Office/Business",
|
||||
]
|
||||
dependencies = [
|
||||
"invoke",
|
||||
"psycopg2",
|
||||
"rattail[auth,db,bouncer]",
|
||||
"Tailbone",
|
||||
"tox",
|
||||
]
|
||||
|
||||
|
||||
[project.scripts]
|
||||
rattail_tutorial = "rattail_tutorial.commands:main"
|
||||
|
||||
|
||||
[project.entry-points."paste.app_factory"]
|
||||
main = "rattail_tutorial.web.app:main"
|
||||
|
||||
|
||||
[project.entry-points."rattail.config.extensions"]
|
||||
rattail_tutorial = "rattail_tutorial.config:Rattail_tutorialConfig"
|
||||
|
||||
|
||||
[project.entry-points."rattail_tutorial.subcommands"]
|
||||
hello = "rattail_tutorial.commands:HelloWorld"
|
||||
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://rattailproject.org"
|
||||
repository = "https://kallithea.rattailproject.org/rattail-project/rattail-tutorial"
|
||||
Changelog = "https://kallithea.rattailproject.org/rattail-project/rattail-tutorial/files/master/CHANGELOG.md"
|
||||
|
||||
|
||||
[tool.commitizen]
|
||||
version_provider = "pep621"
|
||||
tag_format = "v$version"
|
||||
update_changelog_on_bump = true
|
Loading…
Add table
Add a link
Reference in a new issue