-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
48 lines (41 loc) · 1.02 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
[project]
name = "stream"
version = "0.5.2"
description = "Groundlight Stream Processor - Container for analyzing video using RTSP etc"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"framegrab>=0.7.0",
"groundlight>=0.18.4",
"jsonformatter>=0.3.2",
"numpy<2.0.0",
"opencv-python-headless>=4.10.0.84",
"PyYAML==6.0.2",
"streamlink==7.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"ruff==0.7.2",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
stream = ["logging.yaml"]
[tool.pytest.ini_options]
testpaths = ["test"]
python_files = ["test_*.py"]
[tool.ruff]
exclude = ["__init__.py"]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "PL", "UP"] # https://beta.ruff.rs/docs/rules/
ignore = [
"E501", # Line length too long (handled by formatter)
]
fixable = ["ALL"] # Allow autofix behavior
unfixable = []
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"