forked from dbolya/yolact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
50 lines (41 loc) · 1.13 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
[tool.poetry]
name = "yolact"
version = "4.2.0"
description = "Fork of YOLACT"
authors = ["Psycle Research <[email protected]>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/PsycleResearch/yolact"
include = [{ path = "yolact/**/*.so", format = "wheel" }]
[tool.poetry.build]
script = "build.py"
generate-setup-file = true
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[[tool.poetry.source]]
name = "torchcpu"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"
[tool.poetry.dependencies]
python = "^3.9"
torch = { version = "^2.0.0", source = "torchcpu" }
torchvision = { version = ">=0.15,<1", source = "torchcpu" }
Cython = "*"
numpy = "^1.24.0"
pycocotools = "^2.0.2"
tqdm = "^4.48.2"
mashumaro = { version = "^3.0.1", extras = ["yaml"] }
opencv-python = "^4.4.0.42"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
setuptools = ">=43.0"
scipy = "^1.5.2"
scikit-learn = ">=0.23.2,<2"
black = ">=22.8.0"
pylint = "^2.13.9"
h5py = "^3.1.0"
[build-system]
requires = ["poetry-core", "Cython", "numpy>=1.20.0,<2", "setuptools"]
build-backend = "poetry.core.masonry.api"