-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
56 lines (50 loc) · 1.46 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
[tool.poetry]
name = "streamlit-video-chat-example"
version = "0.1.0"
description = ""
authors = ["Yuichiro Tachibana (Tsuchiya) <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = ">=3.7,<3.11,!=3.9.7" # 3.9.7 is excluded due to https://github.com/streamlit/streamlit/pull/5168
streamlit = "^1.5.1"
streamlit-webrtc = "^0.43.4"
streamlit-server-state = "^0.14.2"
opencv-python-headless = "^4.5.2"
[tool.poetry.dev-dependencies]
black = "^21.12b0"
click = ">=7.0,<8.0" # We must specify the click version because we install older versions of Streamlit in the CI process and their depending click version is different from the newer releases.
isort = "^5.11.2"
flake8 = "^4.0.1"
mypy = "^1.0"
# It is necessary to specify numpy and pandas versions for Poetry to resolve the package versions correctly and avoid errors.
numpy = "^1.21.0"
pandas = [
{version = "1.1.5", python = ">=3.7,<3.8"},
{version = "^1.4.0", python = ">=3.8,<3.11"},
]
[tool.black]
line-length = 88
target-version = ['py38']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.isort]
# https://pycqa.github.io/isort/docs/configuration/black_compatibility/
profile = "black"
multi_line_output = 3
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"