-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
99 lines (94 loc) · 3.09 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
[build-system]
build-backend = "hatchling.build"
requires = [
"hatchling",
]
[project]
name = "mjpeg-streamer"
description = "Simple, flexible and efficient MJPEG video streamer for Python"
readme = "README.md"
keywords = [
"aiohttp",
"asyncio",
"computer-vision",
"MJPEG",
"multi-camera",
"OpenCV",
"server",
"streamer",
"streaming",
"video",
"webcam",
]
license = {text = "AGPLv3"}
authors = [{name = "Ege Akman", email = "[email protected]"}]
requires-python = ">=3.6"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: aiohttp",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"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",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Multimedia :: Video",
"Topic :: Security",
]
dynamic = [
"version",
]
dependencies = [
'aiohttp==3.8.6; python_version >= "3.6" and python_version <= "3.7"',
'aiohttp==3.9.1; python_version == "3.8"',
'aiohttp; python_version >= "3.9"',
"netifaces",
'numpy==1.19.5; python_version == "3.6"',
'numpy==1.21.6; python_version == "3.7"',
'numpy==1.24.4; python_version == "3.8"',
'numpy; python_version >= "3.9"',
'opencv-python==4.6.0.66; python_version == "3.6"',
'opencv-python==4.8.1.78; python_version >= "3.7" and python_version <= "3.8"',
'opencv-python; python_version >= "3.9"',
]
[project.urls]
Homepage = "https://github.com/egeakman/mjpeg-streamer"
Issues = "https://github.com/egeakman/mjpeg-streamer/issues"
Releases = "https://github.com/egeakman/mjpeg-streamer/releases"
[project.scripts]
mjpeg-streamer = "mjpeg_streamer.cli:main"
[tool.hatch.build]
packages = ["mjpeg_streamer"]
exclude = ["examples"]
isolated = true
[tool.hatch.version]
path = "mjpeg_streamer/__init__.py"
[tool.ruff]
exclude = ["examples"]
fix = false
ignore = [
"TID252", # Relative imports are banned | __init__.py
"T201", # `print` found | TODO: Migrate to logging
"S104", # Possible binding to all interfaces | False positive
"EM101", # Exception must not use a string literal
"EM102", # Exception must not use an f-string literal
"TRY003", # Avoid specifying long messages outside the exception class
"UP007", # Use `X | Y` for type annotations | Have to use `typing.Union` for Python 3.6 compatibility
"FBT001", # Boolean-typed positional argument in function definition
"FA100", # Missing `from __future__ import annotations` | It works without it
]
[tool.isort]
profile = "black"
known_first_party = "mjpeg_streamer"
skip = ["examples"]