forked from mxcube/video-streamer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (71 loc) · 1.78 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
[tool.poetry]
name = "mxcube_video_streamer"
version = "1.4.0"
packages = [{include = "video_streamer"}]
license = "MIT"
description = "FastAPI Based video streamer"
authors = ["Marcus Oskarsson <[email protected]>"]
maintainers = [
"Marcus Oskarsson <[email protected]>",
]
readme = "README.md"
homepage = "http://github.com/mxcube/fast-api-streamer"
repository = "http://github.com/mxcube/fast-api-streamer"
documentation = "http://github.com/mxcube/fast-api-streamer"
keywords = ["mxcube", "fast-api-streamer", "video_streamer", "mxcubeweb"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
]
[tool.poetry.dependencies]
python = ">=3.8,<3.12"
pydantic = ">=2.8.2,<2.9.0"
pydantic-settings = ">=2.4.0"
fastapi = "^0.112.1"
pillow = "^10.4.0"
uvicorn = "^0.30.6"
pytango = { version = "^9.4.1", optional=true}
jinja2 = "^3.1.4"
websockets = "^12.0"
[tool.poetry.dev-dependencies]
pre-commit = "3.5.0"
pytest = "8.3.2"
pytest-cov = "5.0.0"
[tool.black]
line-length = 88
target_version = ["py38"]
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.pyright]
ignore = ["**/typing_extensions.py"]
pythonVersion = "3.8"
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py38"
[tool.ruff.lint]
extend-select = ["B"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[build-system]
requires = ["poetry-core>=1.0.0", "setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
video-streamer = 'video_streamer.main:run'