-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (45 loc) · 1.06 KB
/
Copy pathpyproject.toml
File metadata and controls
51 lines (45 loc) · 1.06 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "robust_af"
authors = [{ name = "Leaf Ying", email = "leaf.ying.work@gmail.com" }]
readme = "README.md"
requires-python = ">=3.9"
version = "0.0.1"
dependencies = [
"numpy < 3",
"torch >= 1.13.1",
"torchvision >= 0.14.1",
"pycocotools",
"rich",
"albumentations ~= 1.4.24",
"imaug ~= 0.4.1",
"opencv-python < 5",
"einops < 1",
"tabulate < 1",
"matplotlib < 4",
"ffmpegio",
"scikit-learn < 2",
"packaging",
"pillow < 13",
"plotly < 7",
"kaleido",
"pyyaml"
# TODO: move analysis dependencies as optional
]
[project.optional-dependencies]
baseline = ["denet @ {root:uri}/3rdparty/DENet"]
dev = [
"mkdocs",
"mkdocs-material",
"mkdocs-git-revision-date-localized-plugin",
"mkdocs-git-authors-plugin",
"mkdocs-glightbox",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
only-packages = true
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "NPY201"]