-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (75 loc) · 1.84 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
[tool.poetry]
name = "pytorch-lantern"
version = "0.0.0"
description = "Pytorch project template and related tools"
authors = ["NextML AB"]
license = "Apache-2.0"
readme = "README.rst"
repository = "https://github.com/nextml-code/pytorch-lantern"
documentation = "https://pytorch-lantern.readthedocs.io"
keywords = [
"pytorch",
"machine",
"learning"
]
# some classifiers are added automatically, see https://python-poetry.org/docs/pyproject/#classifiers
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Other Environment",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules"
]
packages = [
{ include = "lantern" },
]
[tool.poetry.dependencies]
python = "^3.8"
numpy = "^1.19.4"
torch = ">=1.6.0"
tqdm = "*"
tensorboard = { version = "^2.2.0", optional = true }
pydantic = "2.*"
pandas = "^1.0.0"
pydantic-core = "^2.14.5"
[tool.poetry.extras]
training = ["tensorboard"]
[tool.poetry.group.test.dependencies]
pytest = "^6.1.2"
rstcheck = "^3.3.1"
Sphinx = "^3.3.0"
black = "^23.11.0"
[tool.poetry.group.dev.dependencies]
cookiecutter = "^1.7.2"
flake8 = "^3.8.4"
torchvision = "0.*"
pytorch-datastream = "^0.4.9"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''