feat: switch from setup.cfg to pyproject.toml + hatchling
This commit is contained in:
parent
c65cfe5144
commit
5176acaf9e
5 changed files with 65 additions and 56 deletions
57
pyproject.toml
Normal file
57
pyproject.toml
Normal file
|
@ -0,0 +1,57 @@
|
|||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
|
||||
[project]
|
||||
name = "rattail-demo"
|
||||
version = "0.1.0"
|
||||
description = "Rattail Software Demo"
|
||||
readme = "README.rst"
|
||||
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
||||
classifiers = [
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: Developers",
|
||||
"Natural Language :: English",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Topic :: Office/Business",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
]
|
||||
dependencies = [
|
||||
"invoke",
|
||||
"psycopg2",
|
||||
"rattail-tempmon",
|
||||
"Tailbone",
|
||||
"tailbone-corepos",
|
||||
"tailbone-woocommerce",
|
||||
"typer",
|
||||
"xlrd",
|
||||
]
|
||||
|
||||
|
||||
[project.scripts]
|
||||
rattail-demo = "rattail_demo.commands:rattail_demo_typer"
|
||||
|
||||
|
||||
[project.entry-points."paste.app_factory"]
|
||||
main = "rattail_demo.web.app:main"
|
||||
webapi = "rattail_demo.web.webapi:main"
|
||||
|
||||
|
||||
[project.entry-points."rattail.config.extensions"]
|
||||
rattail-demo = "rattail_demo.config:DemoConfigExtension"
|
||||
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://demo.rattailproject.org"
|
||||
Repository = "https://kallithea.rattailproject.org/rattail-project/rattail-demo"
|
||||
Changelog = "https://kallithea.rattailproject.org/rattail-project/rattail-demo/files/master/CHANGES.rst"
|
||||
|
||||
|
||||
[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