-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (44 loc) · 1.1 KB
/
pyproject.toml
File metadata and controls
51 lines (44 loc) · 1.1 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
[project]
name = "blockzoo"
dynamic = ["version", "readme"]
description = "Benchmark and profile convolutional building blocks."
requires-python = ">=3.10"
dependencies = [
"einops",
"lightning>=2.0",
"numpy",
"pandas",
"scikit-learn",
"timm",
"torch>=2.2",
"torchinfo",
"torchvision>=0.17",
"tqdm",
]
[project.scripts]
blockzoo-train = "blockzoo.train:main"
blockzoo-profile = "blockzoo.profile:main"
blockzoo-benchmark = "blockzoo.benchmark:main"
[project.optional-dependencies]
dev = [
"black",
"coverage",
"pytest-cov",
"pytest",
]
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["blockzoo"]
[tool.setuptools.dynamic]
version = {attr = "blockzoo.__version__"}
readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.coverage.run]
branch = true
source = ["blockzoo", "tests"]
# -rA captures stdout from all tests and places it after the pytest summary
command_line = "-m pytest -rA --doctest-modules --cov=blockzoo"
[tool.black]
line-length = 160
target-version = ['py310']