forked from golemfactory/yapapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
97 lines (77 loc) · 1.88 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
[build-system]
requires = ["poetry"]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "yapapi"
version = "0.1.2"
description = "Hi-Level API for Golem The Next Milestone"
authors = ["Przemysław K. Rekucki <przemyslaw.rekucki@golem.network>"]
license = "LGPL-3.0-or-later"
classifiers = [
"Development Status :: 1 - Planning",
"Framework :: AsyncIO",
"Topic :: System :: Distributed Computing"
]
repository = "https://github.com/prekucki/yapapi"
documentation = "https://prekucki.github.io/yapapi/"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.6.1"
aiohttp = "^3.6"
dataclasses = { version = "^0.7", python = ">=3.6, <3.7"}
urllib3 = "^1.25.9"
typing_extensions = "^3.7.4"
fire = { version = "^0.3.1", optional = true }
rich = { version = "^2.2.5", optional = true }
async_exit_stack = "^1.0.1"
jsonrpc-base = "^1.0.3"
ya-aioclient = "^0.1.1"
[tool.poetry.extras]
cli = ['fire', 'rich']
[tool.poetry.dev-dependencies]
black = "^19.10b0"
pytest = "^5.4.3"
portray = "^1"
pytest-asyncio = "^0.12.0"
mypy = "^0.782"
liccheck = "^0.4.7"
[tool.portray]
[tool.portray.mkdocs.theme]
name = "material"
palette = {primary = "blue grey", accent = "pink"}
[tool.portray.pdocs]
exclude_source = true
[tool.black]
line-length = 100
target-version = ['py36']
[tool.blacken-docs]
line-length = 80
[tool.liccheck]
authorized_licenses = [
"bsd",
"new bsd",
"bsd license",
"apache 2",
"apache",
"MPL-2.0",
"MIT",
"LGPL",
"Python Software Foundation"
]
unauthorized_licenses = [
"gpl v3"
]
[tool.liccheck.authorized_packages]
ya-client-activity = "0.1.0"
ya-client-payment = "0.1.0"
ya-market = "0.1.0"
[tool.poe.tasks]
test = "pytest"
docs = "portray as_html --overwrite"
check = "mypy ."
[[tool.portray.mkdocs.nav]]
Home = "README.md"
[[tool.portray.mkdocs.nav]]
Tutorial = "docs/VM-Tutorial.md"
[[tool.portray.mkdocs.nav]]
Low-Level = "docs/Low-Level-Api.md"