@@ -21,8 +21,8 @@ keywords = [
2121 " video" ,
2222 " webcam" ,
2323]
24- license = {text = " AGPLv3" }
25- authors = [
{ name =
" Ege Akman" ,
email =
" [email protected] " } ]
24+ license = { text = " AGPLv3" }
25+ authors = [
{ name =
" Ege Akman" ,
email =
" [email protected] " } ]
2626requires-python = " >=3.6"
2727classifiers = [
2828 " Development Status :: 5 - Production/Stable" ,
@@ -43,6 +43,7 @@ classifiers = [
4343 " Programming Language :: Python :: 3.10" ,
4444 " Programming Language :: Python :: 3.11" ,
4545 " Programming Language :: Python :: 3.12" ,
46+ " Programming Language :: Python :: 3.13" ,
4647 " Topic :: Internet :: WWW/HTTP :: HTTP Servers" ,
4748 " Topic :: Multimedia :: Video" ,
4849 " Topic :: Security" ,
@@ -51,48 +52,46 @@ dynamic = [
5152 " version" ,
5253]
5354dependencies = [
54- ' aiohttp==3.8.6 ; python_version >= "3.6" and python_version <= "3.7" ' ,
55- ' aiohttp==3.9.1 ; python_version == "3.8" ' ,
56- ' aiohttp; python_version >= "3.9" ' ,
57- ' numpy==1.19.5 ; python_version == "3.6" ' ,
58- ' numpy==1.21.6 ; python_version == "3.7" ' ,
59- ' numpy==1.24.4 ; python_version == "3.8" ' ,
60- ' numpy; python_version >= "3.9" ' ,
61- ' opencv-python==4.6.0.66 ; python_version == "3.6" ' ,
62- ' opencv-python==4.8.1.78 ; python_version >= "3.7" and python_version <= "3.8" ' ,
63- ' opencv-python; python_version >= "3.9" ' ,
55+ " aiohttp; python_version>='3.9' " ,
56+ " aiohttp==3.8.6 ; python_version>='3.6' and python_version<='3.7' " ,
57+ " aiohttp==3.9.1 ; python_version=='3.8' " ,
58+ " numpy; python_version>='3.9' " ,
59+ " numpy==1.19.5 ; python_version=='3.6' " ,
60+ " numpy==1.21.6 ; python_version=='3.7' " ,
61+ " numpy==1.24.4 ; python_version=='3.8' " ,
62+ " opencv-python; python_version>='3.9' " ,
63+ " opencv-python==4.6.0.66 ; python_version=='3.6' " ,
64+ " opencv-python==4.8.1.78 ; python_version>='3.7' and python_version<='3.8' " ,
6465]
65- [project .urls ]
66- Homepage = " https://github.com/egeakman/mjpeg-streamer"
67- Issues = " https://github.com/egeakman/mjpeg-streamer/issues"
68- Releases = " https://github.com/egeakman/mjpeg-streamer/releases"
69- [project .scripts ]
70- mjpeg-streamer = " mjpeg_streamer.cli:main"
66+ urls.Homepage = " https://github.com/egeakman/mjpeg-streamer"
67+ urls.Issues = " https://github.com/egeakman/mjpeg-streamer/issues"
68+ urls.Releases = " https://github.com/egeakman/mjpeg-streamer/releases"
69+ scripts.mjpeg-streamer = " mjpeg_streamer.cli:main"
7170
7271[tool .hatch .build ]
73- packages = [" mjpeg_streamer" ]
74- exclude = [" examples" ]
72+ packages = [ " mjpeg_streamer" ]
73+ exclude = [ " examples" ]
7574isolated = true
7675
7776[tool .hatch .version ]
7877path = " mjpeg_streamer/__init__.py"
7978
8079[tool .ruff ]
81- exclude = [" examples" , " test*" ]
80+ exclude = [ " examples" , " test*" ]
8281fix = false
8382lint.ignore = [
84- " TID252 " , # Relative imports are banned | __init__.py
85- " T201 " , # `print` found | TODO: Migrate to logging
86- " S104 " , # Possible binding to all interfaces | False positive
87- " EM101 " , # Exception must not use a string literal
88- " EM102 " , # Exception must not use an f-string literal
89- " TRY003 " , # Avoid specifying long messages outside the exception class
90- " UP007 " , # Use `X | Y` for type annotations | Have to use `typing.Union` for Python 3.6 compatibility
91- " FBT001 " , # Boolean-typed positional argument in function definition
92- " FA100 " , # Missing `from __future__ import annotations` | It works without it
83+ " EM101 " , # Exception must not use a string literal
84+ " EM102 " , # Exception must not use an f-string literal
85+ " FA100 " , # Missing `from __future__ import annotations` | It works without it
86+ " FBT001 " , # Boolean-typed positional argument in function definition
87+ " S104 " , # Possible binding to all interfaces | False positive
88+ " T201 " , # `print` found | TODO: Migrate to logging
89+ " TID252 " , # Relative imports are banned | __init__.py
90+ " TRY003 " , # Avoid specifying long messages outside the exception class
91+ " UP007 " , # Use `X | Y` for type annotations | Have to use `typing.Union` for Python 3.6 compatibility
9392]
9493
9594[tool .isort ]
9695profile = " black"
9796known_first_party = " mjpeg_streamer"
98- skip = [" examples" ]
97+ skip = [ " examples" ]
0 commit comments