-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (114 loc) · 2.96 KB
/
pyproject.toml
File metadata and controls
122 lines (114 loc) · 2.96 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
#
# Project configuration for docbuild
#
# Reference:
# * https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
# * https://peps.python.org/pep-0518/
#
[build-system]
requires = [
"setuptools>=82.0.1",
]
build-backend = "setuptools.build_meta"
[project]
name = "docbuild"
# version = "0.1.0"
description = "Building SUSE documentation"
readme = "README.md"
requires-python = ">=3.12"
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
dependencies = [
"click>=8.1.8",
"jinja2>=3.1.6,<4.0.0",
"lxml>=6.1.0",
"pydantic>=2.11.4",
"rich>=14.0.0",
"tomlkit>=0.13.2",
]
authors = [
{name = "Tom Schraitle", email = "[email protected]"},
{name = "Sushant Gaurav", email = "[email protected]"},
]
maintainers = [
{name = "Tom Schraitle", email = "[email protected]"},
{name = "Sushant Gaurav", email = "[email protected]"},
]
dynamic = ["version",]
classifiers = [
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
# "Development Status :: 1 - Planning",
"Development Status :: 2 - Pre-Alpha",
# "Development Status :: 1 - Alpha",
# "Development Status :: 4 - Beta",
# "Development Status :: 5 - Production/Stable",
# "Development Status :: 6 - Mature",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Documentation",
"Topic :: Software Development :: Documentation",
]
[dependency-groups]
typing = [
"pyright>=1.1.408",
]
formatting = [
"docformatter>=1.7.7",
"ruff>=0.15.10",
]
tests = [
"pytest>=8.3.5",
"pytest-asyncio>=1.3.0",
"pytest-cov>=6.1.1",
]
changelog = [
"towncrier>=24.8.0",
]
docs = [
"pydata-sphinx-theme>=0.16.1",
"sphinx>=8.2.3",
"sphinx-autoapi>=3.6.0",
"sphinx-autodoc-typehints>=3.2.0",
"sphinx-click>=6.0.0",
"sphinx-copybutton>=0.5.2",
"sphobjinv>=2.3.1.3",
]
repl = [
"ipython>=9.3.0",
]
devel = [
{include-group = "typing"},
{include-group = "formatting"},
{include-group = "tests"},
{include-group = "changelog"},
{include-group = "docs"},
{include-group = "repl"},
# {include-group = "publish"},
]
github-action = [
{include-group = "tests"},
{include-group = "docs"},
]
[project.scripts]
docbuild = "docbuild.__main__:cli"
# --- Setuptools configuration ---
[tool.setuptools]
package-dir = {"" = "src"}
package-data = { "docbuild" = ["py.typed",
"config/xml/data/*.rnc",
"config/xml/data/*.xsl",
"etc/git/*"
]}
include-package-data = true
[tool.setuptools.dynamic]
version = {attr = "docbuild.__about__.__version__"}
[tool.docformatter]
wrap-summaries = 80
close-quotes-on-newline = true
# make-summary-multi-line = true
black = true
pre-summary-newline = true
recursive = true