-
Notifications
You must be signed in to change notification settings - Fork 24
/
pyproject.toml
64 lines (54 loc) · 2.04 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[tool.poetry]
name = "autodoc_pydantic"
version = "2.1.0"
description = "Seamlessly integrate pydantic models in your Sphinx documentation."
authors = ["mansenfranzen <franz.woellert@gmail.com>"]
packages = [{ include = "sphinxcontrib" }]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/mansenfranzen/autodoc_pydantic"
repository = "https://github.com/mansenfranzen/autodoc_pydantic"
documentation = "https://github.com/mansenfranzen/autodoc_pydantic"
keywords = ["sphinx", "pydantic", "autodoc", "documentation", "extension"]
classifiers = [
"Framework :: Pydantic",
"Framework :: Pydantic :: 2",
"Framework :: Sphinx :: Extension",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development :: Documentation"
]
include = ["sphinxcontrib/autodoc_pydantic/css/autodoc_pydantic.css"]
[tool.poetry.dependencies]
python = ">=3.8,<4.0.0"
Sphinx = ">=4.0"
pydantic = ">=2.0,<3.0.0"
pydantic-settings = ">=2.0,<3.0.0"
importlib-metadata = { version = ">1", markers = "python_version <= '3.8'" }
# poetry dependency groups are not used on purpose because they are not natively
# supported with tox. Hence, test/doc dependencies are managed via extras.
# See https://github.com/orgs/python-poetry/discussions/4307
# extras docs
sphinx-rtd-theme = { version = "^2.0.0", optional = true }
sphinx-tabs = { version = "^3", optional = true }
sphinx-copybutton = { version = "^0.5.0", optional = true }
sphinxcontrib-mermaid = { version = "^0.9.0", optional = true }
# extras tests
pytest = {version = "^8.0.0", optional = true }
coverage = { version ="^7", optional = true }
flake8 = { version = "^7.0.0", optional = true }
# extras erdantic
erdantic = { version ="^0.7.0", optional = true }
[tool.pytest.ini_options]
minversion = "6.0"
[tool.poetry.extras]
docs = ["sphinx-rtd-theme",
"sphinx-tabs",
"sphinx-copybutton",
"sphinxcontrib-mermaid"]
test = ["pytest",
"coverage",
"flake8"]
erdantic = ["erdantic"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"