-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
68 lines (62 loc) · 1.46 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
[build-system]
requires = ["poetry-core>=1.0.0a5"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "gnmi-proto"
version = "0.1.0a5"
description = "A python package containing gnmi proto specification and generated python code."
authors = ["Arun Babu Neelicattu <arun.neelicattu@gmail.com>"]
license = "APLv2"
packages = [
{ include = "gnmi", from = "src" },
]
readme = "README.md"
homepage = "https://github.com/python-gnxi"
repository = "https://github.com/python-gnxi/python-gnmi-proto"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Networking",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = "^3.10"
protobuf = "^5.28"
grpcio = "^1.67"
betterproto = { version = "^2.0.0b7", allow-prereleases = true }
[tool.poetry.dev-dependencies]
grpcio-tools = "^1.69"
black = "^24.10"
pre-commit = "^4.0"
pytest = "^8.3"
pytest-asyncio = "^0.25"
betterproto = { version = "^2.0.0b7", allow-prereleases = true, extras = ["compiler"] }
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
(
\.git
| \.tox
| \.venv
| _build
| build
| dist
| \.eggs
| _pb2(_grpc)?\.py
)
'''
[tool.tox]
legacy_tox_ini = """
[tox]
minversion = 3.3.0
isolated_build = True
envlist = py36, py37, py38
[testenv]
whitelist_externals = poetry
skip_install = true
commands =
poetry install
poetry run pytest {posargs} tests/
"""