Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
134 lines (112 loc) · 3.34 KB
/
Copy pathpyproject.toml
File metadata and controls
134 lines (112 loc) · 3.34 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
123
124
125
126
127
128
129
130
131
132
133
134
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "strictdoc/__init__.py"
[tool.hatch.build]
include = [
"/strictdoc/",
"LICENSE",
"NOTICE",
"README.md",
"pyproject.toml"
]
exclude = [
# Without this, the folder is still included to the output tar.gz because it has a Markdown file.
"/developer",
]
[project]
name = "strictdoc"
dynamic = ["version"]
description = "StrictDoc is open-source software for technical documentation and requirements management."
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.8"
authors = [
{ name = "Stanislav Pankevich", email = "s.pankevich@gmail.com" },
{ name = "Maryna Balioura", email = "mettta@gmail.com" },
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
# @sdoc[SDOC-SRS-89]
dependencies = [
"textx >= 4.0.0, == 4.*",
"lark >= 1.2.2",
"jinja2 >= 2.11.2",
# Reading project config from strictdoc.toml file.
"toml",
# Parsing and rendering RST.
"docutils >= 0.16, == 0.*",
# Tree Sitter is used for language/AST-aware parsing of Python, C and other files.
"tree-sitter",
"tree_sitter_cpp",
"tree-sitter-python",
# Requirements-to-source traceability. Colored syntax for source files.
"pygments >= 2.10.0, == 2.*",
# Static HTML export with embedded assets.
"beautifulsoup4 >= 4.12.0, == 4.*",
"html5lib>=1.1", # Used by beautifulsoup4 as an optional plugin.
"python-datauri >= 2.1.1, == 2.*",
# Excel
"XlsxWriter >= 1.3.7, == 1.*",
"xlrd >= 2.0.1, == 2.*",
"openpyxl >= 3.1.0",
# ReqIF
"reqif >= 0.0.39, == 0.*",
# SPDX
"spdx-tools",
# Web server dependencies
"fastapi >= 0.83.0",
# FastAPI: To receive uploaded files and/or form data, first install python-multipart.
"python-multipart",
"uvicorn[standard] >= 0.14.0",
"WebSockets",
# HTML2PDF dependencies
"html2pdf4doc >= 0.0.20",
# Robot Framework dependencies
"robotframework >= 4.0.0",
]
# @sdoc[/SDOC-SRS-89]
[project.optional-dependencies]
development = [
# Development tasks
"invoke>=1.4.1",
"tox>=4.4.8",
]
nuitka = [
# Nuitka:WARNING: Using very slow fallback for ordered sets, please install
# 'ordered-set' PyPI package for best Python compile time performance.
"nuitka",
"ordered-set",
]
[project.scripts]
strictdoc = "strictdoc.cli.main:main"
[project.urls]
Changelog = "https://github.com/strictdoc-project/strictdoc/blob/main/CHANGELOG.md"
Homepage = "https://strictdoc.readthedocs.io/en/stable/"
Source = "https://github.com/strictdoc-project/strictdoc"
[tool.pytest.ini_options]
addopts = "--import-mode=importlib"
pythonpath = [
"."
]
[tool.fixit]
enable = [
".developer.fixit.check_comments",
".developer.fixit.check_docstrings",
]
# FIXME: Remove disable.
disable = [
"fixit.rules"
]