Debian Codegraph @

pyproject.toml

raw
1 [build-system]
2 requires = ["pdm-backend"]
3 build-backend = "pdm.backend"
4
5 [project]
6 name = "mkdocstrings"
7 description = "Automatic documentation from sources, for MkDocs."
8 authors = [{name = "Timothée Mazzucotelli", email = "[email protected]"}]
9 license = "ISC"
10 license-files = ["LICENSE"]
11 readme = "README.md"
12 requires-python = ">=3.10"
13 keywords = ["mkdocs", "mkdocs-plugin", "docstrings", "autodoc", "documentation"]
14 dynamic = ["version"]
15 classifiers = [
16 "Development Status :: 4 - Beta",
17 "Intended Audience :: Developers",
18 "Programming Language :: Python",
19 "Programming Language :: Python :: 3",
20 "Programming Language :: Python :: 3 :: Only",
21 "Programming Language :: Python :: 3.10",
22 "Programming Language :: Python :: 3.11",
23 "Programming Language :: Python :: 3.12",
24 "Programming Language :: Python :: 3.13",
25 "Programming Language :: Python :: 3.14",
26 "Topic :: Documentation",
27 "Topic :: Software Development",
28 "Topic :: Software Development :: Documentation",
29 "Topic :: Utilities",
30 "Typing :: Typed",
31 ]
32 dependencies = [
33 "Jinja2>=3.1",
34 "Markdown>=3.6",
35 "MarkupSafe>=1.1",
36 "mkdocs>=1.6",
37 "mkdocs-autorefs>=1.4",
38 "pymdown-extensions>=6.3",
39 ]
40
41 [project.optional-dependencies]
42 crystal = ["mkdocstrings-crystal>=0.3.4"]
43 python-legacy = ["mkdocstrings-python-legacy>=0.2.1"]
44 python = ["mkdocstrings-python>=1.16.2"]
45
46 [project.urls]
47 Homepage = "https://mkdocstrings.github.io"
48 Documentation = "https://mkdocstrings.github.io"
49 Changelog = "https://mkdocstrings.github.io/changelog"
50 Repository = "https://github.com/mkdocstrings/mkdocstrings"
51 Issues = "https://github.com/mkdocstrings/mkdocstrings/issues"
52 Discussions = "https://github.com/mkdocstrings/mkdocstrings/discussions"
53 Gitter = "https://gitter.im/mkdocstrings/community"
54 Funding = "https://github.com/sponsors/pawamoy"
55
56 [project.entry-points."mkdocs.plugins"]
57 mkdocstrings = "mkdocstrings:MkdocstringsPlugin"
58
59 [tool.pdm.version]
60 source = "call"
61 getter = "scripts.get_version:get_version"
62
63 [tool.pdm.build]
64 # Include as much as possible in the source distribution, to help redistributors.
65 excludes = ["**/.pytest_cache"]
66 source-includes = [
67 "config",
68 "docs",
69 "scripts",
70 "share",
71 "tests",
72 "duties.py",
73 "zensical.toml",
74 "*.md",
75 "LICENSE",
76 ]
77
78 [tool.pdm.build.wheel-data]
79 # Manual pages can be included in the wheel.
80 # Depending on the installation tool, they will be accessible to users.
81 # pipx supports it, uv does not yet, see https://github.com/astral-sh/uv/issues/4731.
82 data = [
83 {path = "share/**/*", relative-to = "."},
84 ]
85
86 [dependency-groups]
87 maintain = [
88 "git-changelog>=2.5",
89 "twine>=5.1",
90 "yore>=0.3.3",
91 ]
92 ci = [
93 "dirty-equals>=0.9",
94 "duty>=1.6",
95 "griffe>=2.0",
96 "pytest>=8.2",
97 "pytest-cov>=5.0",
98 "pytest-randomly>=3.15",
99 "pytest-xdist>=3.6",
100 "ruff>=0.4",
101 "ty>=0.0.14",
102 "types-markdown>=3.6",
103 "types-pyyaml>=6.0",
104 ]
105 docs = [
106 "ghp-import>=2.1",
107 "markdown-callouts>=0.4",
108 "markdown-exec>=1.8",
109 "mkdocstrings[python]>=0.29",
110 # YORE: EOL 3.10: Remove line.
111 "tomli>=2.0; python_version < '3.11'",
112 "zensical>=0.0.21",
113 ]
114
115 [tool.uv]
116 default-groups = ["maintain", "ci", "docs"]