-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
141 lines (123 loc) · 3.76 KB
/
pyproject.toml
File metadata and controls
141 lines (123 loc) · 3.76 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
135
136
137
138
139
140
141
[build-system]
requires = ["hatchling>=1.26.1"]
build-backend = "hatchling.build"
[project]
name = "kevinbotlib"
dynamic = ["version"]
description = "The KevinbotLib Robot Development Framework"
readme = "README.md"
requires-python = ">=3.11"
license = "LGPL-3.0-or-later"
keywords = []
authors = [{ name = "Kevin Ahr", email = "meowmeowahr@gmail.com" }]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"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",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
]
dependencies = [
"pyserial~=3.5",
"loguru~=0.7.3",
"pydantic~=2.12.4",
"click~=8.3.1",
"platformdirs~=4.5.0",
"orjson~=3.11.4",
"pybase64~=1.4.2",
"pysdl2~=0.9.17",
"opencv-python~=4.12.0",
"jinja2~=3.1.6",
"psutil~=7.1.3",
"darkdetect~=0.8.0",
"ansi2html~=1.9.2",
"qtpy~=2.4.3",
"deprecated~=1.3.1",
"redis[hiredis]~=7.1.0",
"wakepy~=0.10.2.post1",
"superqt~=0.7.6",
"paramiko~=4.0.0",
"pyside6-addons>=6.10.1",
"pyside6>=6.10.1",
"blake3~=1.0.8",
"pyqtgraph~=0.14.0",
"rich~=14.2.0",
"hiredis>=3.3.0",
"fonticon-materialdesignicons7~=7.2.96",
"cv2-enumerate-cameras~=1.3.0",
"pyzmq~=27.1.0",
"hatch>=1.15.1",
"toml>=0.10.2",
"pygit2>=1.19.0",
"jinja2>=3.1.6",
]
[project.optional-dependencies]
dev = [
"mkdocs",
"mkdocs-material[imaging]",
"mkdocstrings[python]>=0.18",
"mkdocs-rss-plugin[dev]>=1.17.3",
"mike",
"pyinstaller",
"Pillow",
]
[project.scripts]
kevinbotlib = "kevinbotlib.cli:main"
[project.urls]
Documentation = "https://meowmeowahr.github.io/kevinbotlib/"
Issues = "https://github.com/meowmeowahr/kevinbotlib/issues"
Source = "https://github.com/meowmeowahr/kevinbotlib"
[tool.hatch.build.targets.wheel]
force_include_editable = [
"src/kevinbotlib/fileserver/static/**/*",
"src/kevinbotlib/fileserver/templates/**/*",
]
[tool.hatch.version]
path = "src/kevinbotlib/__about__.py"
[tool.hatch.envs]
default = { scripts = { serve-docs = "mkdocs serve", build-docs = "mkdocs build" } }
[tool.hatch.envs.types]
extra-dependencies = ["mypy>=1.0.0"]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/kevinbotlib tests}"
[tool.coverage.run]
source_pkgs = ["kevinbotlib", "tests"]
branch = true
parallel = true
omit = ["src/kevinbotlib/__about__.py"]
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.13", "3.12", "3.11"]
[tool.hatch.envs.hatch-test]
dependencies = [
"coverage-enable-subprocess==1.0",
"coverage[toml]~=7.4",
"pytest~=8.1",
"pytest-mock~=3.12",
"pytest-randomly~=3.15",
"pytest-rerunfailures~=14.0",
"pytest-xdist[psutil]~=3.5",
]
[tool.hatch.envs.hatch-test.scripts]
python = ["3.13", "3.12", "3.11"]
run = "pytest{env:HATCH_TEST_ARGS:} {args}"
run-cov = "coverage run -m pytest{env:HATCH_TEST_ARGS:} {args}"
cov-combine = "coverage combine"
cov-report = "coverage report"
[tool.coverage.paths]
kevinbotlib = ["src/kevinbotlib", "*/kevinbotlib/src/kevinbotlib"]
tests = ["tests", "*/kevinbotlib/tests"]
[tool.coverage.report]
exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"]
[tool.ruff.lint]
ignore = ["G004", "TRY400"]
[tool.ruff.lint.per-file-ignores]
"examples/*" = ["T201", "S311", "T203"]
"tests/*" = ["S101", "PLR2004"]
"resources_rc.py" = ["N802"]
"*" = ["FBT001"]
"src/kevinbotlib/apps/dashboard/widgets/_pglive/sources/*" = ["ALL"]
[tool.hatch.build.targets.sdist]
exclude = ["docs/", "mkdocs.yaml", "build/", "scripts/", ".github/"]