forked from uchuhimo/amanda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
137 lines (123 loc) · 3.32 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[tool.dephell.main]
from = {format = "poetry", path = "pyproject.toml"}
to = {format = "setuppy", path = "setup.py"}
[tool.black]
line-length = 88
target-version = ["py36"]
exclude = "setup.py|.*_pb2.py"
[tool.isort]
profile = "black"
# multi_line_output = 3
# include_trailing_comma = true
# force_grid_wrap = 0
# use_parentheses = true
# line_length = 88
skip_glob="*_pb2.py"
# known_first_party = "amanda"
default_section = "THIRDPARTY"
# sections = "FUTURE,STDLIB,FIRSTPARTY,THIRDPARTY,LOCALFOLDER"
[tool.coverage.report]
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
# Don't complain about missing debug-only code:
"def __repr__",
"if self\\.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
]
omit = ["src/amanda/tests/*", "src/amanda/tools/*"]
[tool.poetry]
name = "amanda"
version = "0.1.0"
description = "graph instrumentation"
license = "Apache-2.0"
authors = [
"uchuhimo <[email protected]>"
]
readme = "README.md"
repository = "https://github.com/uchuhimo/amanda"
homepage = "https://github.com/uchuhimo/amanda"
keywords = []
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
]
build = "build.py"
[tool.poetry.dependencies]
python = ">= 3.7, < 4"
more-itertools = "*"
click = "*"
typing-extensions = "*"
protobuf = "*"
"ruamel.yaml" = "*"
h5py = "*"
immutables = "*"
loguru = "*"
guppy3 = "*"
intercepts = "*"
[tool.poetry.dev-dependencies]
pybind11 = "*"
mypy-protobuf = "*"
numpy = "*"
scipy = "*"
tensorflow-gpu = "1.15.5"
torch = "1.8.1"
torchvision = "0.9.1"
mmdnn = "*"
onnx = "*"
onnxruntime = "*"
pip = ">=19.3"
dephell = { version = "*", extras = [ "full" ], allow-prereleases = true }
fissix = "*"
bump2version="*"
wheel="*"
watchdog="*"
flake8 = "*"
black = { version = "*", allow-prereleases = true }
isort = { version = "*", extras = [ "pyproject" ] }
mypy = "*"
pre-commit = "*"
pytest = "*"
pytest-xdist = "*"
pytest-dependency = "*"
pytest-profiling = "*"
filelock = "*"
tox="*"
coverage= { version = "*", extras = [ "toml" ] }
Sphinx="*"
twine="*"
ipython = "*"
jsondiff = "*"
wget = "*"
fire = "*"
pympler = "*"
types-protobuf = "*"
types-six = "*"
types-filelock = "*"
types-setuptools = "*"
types-toml = "*"
torch-scatter = { url = "https://pytorch-geometric.com/whl/torch-1.8.0+cu102/torch_scatter-2.0.8-cp37-cp37m-linux_x86_64.whl" }
torch-sparse = { url = "https://pytorch-geometric.com/whl/torch-1.8.0+cu102/torch_sparse-0.6.11-cp37-cp37m-linux_x86_64.whl" }
torch-geometric = "*"
numba = "*"
jaxlib = { url = "https://storage.googleapis.com/jax-releases/cuda111/jaxlib-0.1.70+cuda111-cp37-none-manylinux2010_x86_64.whl" }
jax = { version = "0.2.19", extras = [ "cuda111" ] }
Keras = "2.3.1"
h5py = "<3.0.0"
[tool.poetry.scripts]
amanda = "amanda.cli.main:cli"
amanda-download = "amanda.cli.download:cli"
amanda-run = "amanda.cli.run:cli"
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"