Change-Id: I9e3c66de3240f77b4bbd3daaf89b6859e04fba6d Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
58 lines
1.4 KiB
TOML
58 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["pbr>=6.1.1"]
|
|
build-backend = "pbr.build"
|
|
|
|
[project]
|
|
name = "WSME"
|
|
description = "Simplify the writing of REST APIs, and extend them with additional protocols."
|
|
authors = [
|
|
{name = "Christophe de Vienne", email = "python-wsme@googlegroups.com"},
|
|
]
|
|
readme = {file = "README.rst", content-type = "text/x-rst"}
|
|
license = "MIT"
|
|
dynamic = ["version", "dependencies"]
|
|
requires-python = ">=3.10"
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Environment :: Console",
|
|
"Intended Audience :: Developers",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://opendev.org/x/wsme"
|
|
Repository = "https://opendev.org/x/wsme"
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = [
|
|
"wsme",
|
|
"wsmeext"
|
|
]
|
|
namespaces = true
|
|
|
|
[project.entry-points."wsme.protocols"]
|
|
rest = "wsme.rest.protocol:RestProtocol"
|
|
restjson = "wsme.rest.protocol:RestProtocol"
|
|
restxml = "wsme.rest.protocol:RestProtocol"
|
|
|
|
[tool.ruff]
|
|
line-length = 79
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "preserve"
|
|
docstring-code-format = true
|
|
skip-magic-trailing-comma = true
|
|
|
|
[tool.ruff.lint]
|
|
select = ["C4", "E4", "E5", "E7", "E9", "F", "G", "LOG", "UP"]
|
|
ignore = [
|
|
# TODO(tkajinam): Fix these
|
|
"E501",
|
|
"E741",
|
|
]
|