forked from AyushExel/trolo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
71 lines (60 loc) · 1.17 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "trolo"
version = "0.1.31"
description = "A framework for harnessing the power of transformers with YOLO models and other single-shot detectors!"
requires-python = ">=3.8"
dependencies = [
"click>=8.0.0",
"torch>=2.0.0",
"torchvision",
"onnxruntime",
"PyYAML",
"opencv-python",
"Pillow",
"pycocotools",
"tensorboard",
"faster_coco_eval",
"calflops",
"transformers",
"scipy",
"wandb",
"numpy<=1.26.4",
"supervision",
"emoji",
"colorama"
]
[project.optional-dependencies]
dev = [
"ruff>=0.6.1",
"pytest"
]
export = [
"onnx",
"onnxsim",
"openvino"
]
[project.scripts]
trolo = "trolo.cli.cli:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["trolo*"]
[tool.setuptools.package-data]
trolo = [
"configs/**/*.yml",
"configs/**/*.yaml",
"utils/scripts/**/*.sh",
"data/samples/*"
]
[tool.ruff]
line-length = 120
exclude = [
"recipes/",
]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint.isort]
combine-as-imports = true
split-on-trailing-comma = false