-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
131 lines (120 loc) · 3.22 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pyroengine"
description = "Wildfire detection on edge devices"
authors = [
{name = "Pyronear", email = "[email protected]"}
]
readme = "README.md"
requires-python = ">=3.6,<4"
license = {file = "LICENSE"}
keywords = ["pytorch", "deep learning", "vision", "cnn", "wildfire"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dynamic = ["version"]
dependencies = [
"onnxruntime==1.18.1",
"ncnn==1.0.20240410",
"pyroclient @ git+https://github.com/pyronear/pyro-api.git@767be30a781b52b29d68579d543e3f45ac8c4713#egg=pyroclient&subdirectory=client",
"requests>=2.20.0,<3.0.0",
"tqdm>=4.62.0",
"huggingface_hub==0.23.1",
"pillow==11.0.0",
]
[project.optional-dependencies]
test = [
"pytest>=5.3.2",
"pytest-asyncio>=0.14.0",
"coverage[toml]>=4.5.4",
"requests>=2.20.0,<3.0.0",
"python-dotenv>=0.15.0",
]
quality = [
"flake8>=3.9.0",
"isort>=5.7.0",
"mypy>=0.812",
"pydocstyle[toml]>=6.0.0",
"black>=22.1,<23.0",
]
docs = [
"sphinx>=3.0.0,!=3.5.0",
"furo>=2022.3.4",
"sphinxemoji>=0.1.8",
"sphinx-copybutton>=0.3.1",
# Indirect deps
# cf. https://github.com/readthedocs/readthedocs.org/issues/9038
"Jinja2<3.1",
]
dev = [
# test
"pytest>=5.3.2",
"pytest-asyncio>=0.14.0",
"coverage[toml]>=4.5.4",
"requests>=2.20.0,<3.0.0",
# style
"flake8>=3.9.0",
"isort>=5.7.0",
"mypy>=0.812",
"pydocstyle[toml]>=6.0.0",
"black>=22.1,<23.0",
# docs
"sphinx>=3.0.0,!=3.5.0",
"furo>=2022.3.4",
"sphinxemoji>=0.1.8",
"sphinx-copybutton>=0.3.1",
"Jinja2<3.1",
]
[project.urls]
documentation = "https://pyronear.org/pyro-engine"
repository = "https://github.com/pyronear/pyro-engine"
tracker = "https://github.com/pyronear/pyro-engine/issues"
[tool.setuptools]
zip-safe = true
[tool.setuptools.packages.find]
exclude = ["docs*", "scripts*", "tests*", "src*"]
[tool.mypy]
files = "pyroengine/"
show_error_codes = true
pretty = true
warn_unused_ignores = true
warn_redundant_casts = true
no_implicit_optional = true
check_untyped_defs = true
implicit_reexport = false
[[tool.mypy.overrides]]
module = [
"onnxruntime.*",
"requests.*",
"PIL.*",
"pyroclient.*",
"urllib3.*",
]
ignore_missing_imports = true
[tool.isort]
line_length = 120
src_paths = ["pyroengine", "tests", "src", "docs", ".github", "scripts"]
skip_glob = "**/__init__.py"
[tool.pydocstyle]
select = "D300,D301,D417"
match = ".*\\.py"
[tool.coverage.run]
source = ["pyroengine"]
[tool.black]
line-length = 120
target-version = ['py38']