Skip to content

Commit 0993077

Browse files
committed
Migrate to pyproject.toml
Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent dce1654 commit 0993077

2 files changed

Lines changed: 53 additions & 57 deletions

File tree

pyproject.toml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[build-system]
2+
requires = ["setuptools>=64.0.0", "setuptools_scm>=8.0.0"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "sphinxcontrib-openapi"
7+
description = "OpenAPI (fka Swagger) spec renderer for Sphinx"
8+
readme = "README.rst"
9+
license = "BSD-3-Clause"
10+
authors = [
11+
{name = "Ihor Kalnytskyi", email = "ihor@kalnytskyi.com"},
12+
]
13+
keywords = ["sphinx", "openapi", "swagger", "rest", "api", "renderer", "docs"]
14+
classifiers = [
15+
"Topic :: Documentation",
16+
"Topic :: Documentation :: Sphinx",
17+
"Environment :: Console",
18+
"Intended Audience :: Developers",
19+
"Operating System :: OS Independent",
20+
"Programming Language :: Python",
21+
"Programming Language :: Python :: 3",
22+
"Programming Language :: Python :: 3 :: Only",
23+
"Programming Language :: Python :: Implementation :: CPython",
24+
"Framework :: Setuptools Plugin",
25+
"Framework :: Sphinx",
26+
"Framework :: Sphinx :: Extension",
27+
]
28+
requires-python = ">=3.10"
29+
dependencies = [
30+
"sphinx >= 2.0",
31+
"sphinxcontrib-httpdomain >= 1.5.0",
32+
"PyYAML >= 3.12",
33+
"jsonschema >= 2.5.1",
34+
"sphinx-mdinclude >= 0.5.2",
35+
"picobox >= 2.2",
36+
"deepmerge >= 0.1",
37+
]
38+
dynamic = ["version"]
39+
40+
[project.urls]
41+
Homepage = "https://github.com/sphinx-contrib/openapi"
42+
Documentation = "https://sphinxcontrib-openapi.readthedocs.io/"
43+
Source = "https://github.com/sphinx-contrib/openapi"
44+
Bugs = "https://github.com/sphinx-contrib/openapi/issues"
45+
46+
[tool.setuptools]
47+
zip-safe = false
48+
include-package-data = true
49+
50+
[tool.setuptools.packages.find]
51+
include = ["sphinxcontrib.*"]
52+
53+
[tool.setuptools_scm]

setup.py

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)