feat: switch from setup.cfg to pyproject.toml + hatchling
This commit is contained in:
parent
783e5770f1
commit
92285dcbc1
6 changed files with 78 additions and 86 deletions
67
pyproject.toml
Normal file
67
pyproject.toml
Normal file
|
@ -0,0 +1,67 @@
|
|||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
|
||||
[project]
|
||||
name = "Messkit"
|
||||
version = "0.1.8"
|
||||
description = "Generic-ish Data Utility App"
|
||||
readme = "README.rst"
|
||||
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
||||
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 = [
|
||||
|
||||
# TODO: user should get to choose which of these is needed?
|
||||
"mysql-connector-python",
|
||||
"psycopg2",
|
||||
|
||||
"prompt_toolkit",
|
||||
"rich",
|
||||
"Sphinx",
|
||||
"Tailbone",
|
||||
"typer",
|
||||
]
|
||||
|
||||
|
||||
[project.scripts]
|
||||
messkit = "messkit.commands:messkit_typer"
|
||||
|
||||
|
||||
[project.entry-points."paste.app_factory"]
|
||||
main = "messkit.web.app:main"
|
||||
|
||||
|
||||
[project.entry-points."rattail.config.extensions"]
|
||||
messkit = "messkit.config:MesskitConfig"
|
||||
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://redmine.rattailproject.org/projects/messkit"
|
||||
Repository = "https://kallithea.rattailproject.org/rattail-project/messkit"
|
||||
Issues = "https://redmine.rattailproject.org/projects/messkit/issues"
|
||||
Changelog = "https://kallithea.rattailproject.org/rattail-project/messkit/files/master/CHANGELOG.md"
|
||||
|
||||
|
||||
[tool.commitizen]
|
||||
version_provider = "pep621"
|
||||
tag_format = "v$version"
|
||||
update_changelog_on_bump = true
|
||||
|
||||
|
||||
# [tool.hatch.build.targets.sdist]
|
||||
# exclude = [
|
||||
# "machines/",
|
||||
# ]
|
Loading…
Add table
Add a link
Reference in a new issue