-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
123 lines (105 loc) · 3.24 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
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
[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 = "[email protected]" },
{ name = "Maryna Balioura", email = "[email protected]" },
]
classifiers = [
# "Development Status :: 4 - Beta",
# "Environment :: Web Environment",
# "Intended Audience :: Developers",
"License :: OSI Approved :: BSD 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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
# "Topic :: Internet :: WWW/HTTP",
]
# @sdoc[SDOC-SRS-89]
dependencies = [
"textx >= 3.0.0, == 3.*",
"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-c",
"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.*",
# 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
"selenium",
"webdriver-manager",
# requests is used by StrictDoc's custom HTML2PDF_HTTPClient.
"requests",
]
# @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"
# Funding = "https://..."
Homepage = "https://strictdoc.readthedocs.io/en/stable/"
Source = "https://github.com/strictdoc-project/strictdoc"
[tool.pytest.ini_options]
addopts = "--import-mode=importlib"
pythonpath = [
"."
]