-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
99 lines (91 loc) · 2.71 KB
/
pyproject.toml
File metadata and controls
99 lines (91 loc) · 2.71 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "accessible-math-reader"
version = "0.5.2"
description = "Screen-reader-first math accessibility toolkit for converting LaTeX/MathML to speech and Braille. Developed under FCRIT Vashi."
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.9"
authors = [
{name = "Andrew Fernandes", email = "write2andrew.fernandes@gmail.com"},
{name = "Aaron Anthony", email = "aaronantonytheofficial@gmail.com"},
{name = "Chris Anil", email = "chrisanil777@gmail.com"},
]
keywords = ["accessibility", "math", "braille", "screen-reader", "mathml", "latex"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Text Processing",
"Topic :: Education"
]
dependencies = [
"gtts>=2.5.0",
"lxml>=4.9.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"axe-playwright-python>=0.1.0",
"playwright>=1.40.0",
"ruff>=0.1.0",
]
web = [
"flask>=3.0.0",
]
# ── Infrastructure feature extras (all optional) ─────────────
api = [
"flask>=3.0.0",
"gunicorn>=21.2.0; sys_platform != 'win32'",
]
grpc = [
"grpcio>=1.60.0",
"protobuf>=4.25.0",
"grpcio-tools>=1.60.0",
]
offline-tts = [
"pyttsx3>=2.90",
]
metrics = [
"prometheus_client>=0.19.0",
]
tracing = [
"opentelemetry-api>=1.22.0",
"opentelemetry-sdk>=1.22.0",
]
jupyter = [
"ipython>=8.0.0",
]
all = [
"accessible-math-reader[api,offline-tts,metrics,jupyter]",
]
[project.scripts]
amr = "accessible_math_reader.cli:main"
[project.urls]
Homepage = "https://github.com/AndyFerns/Accessible-Math-Reader"
Documentation = "https://accessible-math-reader.readthedocs.io/en/latest/"
Repository = "https://github.com/AndyFerns/Accessible-Math-Reader"
Issues = "https://github.com/AndyFerns/Accessible-Math-Reader/issues"
College = "https://fcrit.ac.in/"
[tool.hatch.build.targets.wheel]
packages = ["accessible_math_reader"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "D", "UP", "ANN", "B", "A", "C4", "RET", "SIM"]
ignore = ["ANN101", "ANN102", "D100", "D104"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --cov=accessible_math_reader --cov-report=term-missing"