feat: replace setup.cfg with pyproject.toml
also move canonical version to pyproject.toml still using setuptools as build backend for now
This commit is contained in:
parent
ba1905b7ad
commit
8a1ec6210c
5 changed files with 76 additions and 86 deletions
69
pyproject.toml
Normal file
69
pyproject.toml
Normal file
|
@ -0,0 +1,69 @@
|
|||
|
||||
[build-system]
|
||||
requires = ["setuptools"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
|
||||
[project]
|
||||
name = "WuttJamaican"
|
||||
version = "0.1.12"
|
||||
description = "Base package for Wutta Framework"
|
||||
readme = "README.rst"
|
||||
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]
|
||||
license = {file = "COPYING.txt"}
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||
"Natural Language :: English",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
]
|
||||
requires-python = ">= 3.6"
|
||||
dependencies = [
|
||||
"python-configuration",
|
||||
]
|
||||
|
||||
|
||||
[project.optional-dependencies]
|
||||
db = ["SQLAlchemy<2"]
|
||||
docs = ["Sphinx", "sphinxcontrib-programoutput"]
|
||||
tests = ["pytest-cov", "tox"]
|
||||
|
||||
|
||||
[project.scripts]
|
||||
wutta = "wuttjamaican.cmd.base:main"
|
||||
|
||||
|
||||
[project.entry-points."wutta.subcommands"]
|
||||
date-organize = "wuttjamaican.cmd.date_organize:DateOrganize"
|
||||
make-appdir = "wuttjamaican.cmd.make_appdir:MakeAppDir"
|
||||
setup = "wuttjamaican.cmd.setup:Setup"
|
||||
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://rattailproject.org/"
|
||||
Repository = "https://kallithea.rattailproject.org/rattail-project/wuttjamaican"
|
||||
Changelog = "https://kallithea.rattailproject.org/rattail-project/wuttjamaican/files/master/CHANGELOG.md"
|
||||
|
||||
|
||||
[tool.commitizen]
|
||||
version_provider = "pep621"
|
||||
tag_format = "v$version"
|
||||
update_changelog_on_bump = true
|
||||
|
||||
|
||||
[tool.setuptools]
|
||||
include-package-data = true
|
||||
package-dir = {"" = "src"}
|
||||
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src"]
|
Loading…
Add table
Add a link
Reference in a new issue