-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (66 loc) · 2.54 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
[tool.poetry]
name = "poe-standalone"
version = "0.1.0"
description = "OAK POE STANDALONE SCRIPTS"
authors = ["richard-xx <[email protected]>"]
readme = "README.md"
packages = [
{ include = "poe_standalone" },
{ include = "poe_host" }
]
classifiers = [
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3 :: Only",
]
[tool.poetry.dependencies]
#python = ">=3.6,<3.11"
#click = [{ version = "<8.1.0", python = "<3.7" },
# { version = "^8.1.0", python = "^3.7" }]
#rich-click = [{ version = "<1.3.0", python = "<3.7" },
# { version = "^1.3.0", python = "^3.7" }]
#depthai = "^2.17.2.0"
#loguru = "^0.6.0"
#numpy = [{ version = "^1.19", python = ">=3.6,<3.7" },
# { version = "<1.22", python = ">=3.7,<3.8" },
# { version = "^1.22", python = "^3.8" }]
python = ">=3.7,<3.11"
click = { version = "^8.1.0", python = "^3.7" }
rich-click = { version = "^1.3.0", python = "^3.7" }
depthai = "^2.17.2.0"
loguru = "*"
numpy = [{ version = "<1.22", python = ">=3.7,<3.8" },
{ version = "^1.22", python = "^3.8" }]
click-params = "*"
# A list of all of the optional dependencies, some of which are included in the
# below `extras`. They can be opted into by apps.
depthai-pipeline-graph = { url = "https://github.com/geaxgx/depthai_pipeline_graph/archive/main.tar.gz", optional = true }
PySide2 = { version = "^5.15.2.1", optional = true }
PyTurboJPEG = { version = "^1.6.7", optional = true }
opencv-contrib-python = [
{ version = "<=4.5.1.48", python = "<3.10", optional = true },
{ version = "==4.5.4.58", python = "^3.10", optional = true }
]
pymodbustcp = { version = "^0.2.0", optional = true }
[tool.poetry.scripts]
poe_standalone = "poe_standalone:standalone.cli"
yolo_host = "poe_host:yolo_host.cli"
tcp_streaming_client_host = "poe_host:tcp_streaming_client_host.cli"
tcp_streaming_server_host = "poe_host:tcp_streaming_server_host.cli"
tcp_streaming_server_host_config_focus = "poe_host:tcp_streaming_server_host_config_focus.cli"
modustcp_host = "poe_host:modbus_tcp_io_test.cli"
[tool.poetry.extras]
pipeline-graph = ["depthai-pipeline-graph", "PySide2"]
TurboJPEG = ["PyTurboJPEG"]
host = ["opencv-contrib-python","pymodbustcp"]
[[tool.poetry.source]]
name = 'TUNA'
url = 'https://pypi.tuna.tsinghua.edu.cn/simple'
[[tool.poetry.source]]
name = 'PIWHEELS'
url = 'https://www.piwheels.org/simple'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"