-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
56 lines (50 loc) · 1.37 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
[tool.poetry]
name = "asyncapi-python"
version = "0.1.6"
license = "Apache-2.0"
description = "Easily generate type-safe and async Python applications from AsyncAPI 3 specifications."
authors = ["Yaroslav Petrov <[email protected]>"]
readme = "README.md"
packages = [
{ include = "asyncapi_python_codegen", from = "src" },
{ include = "asyncapi_python", from = "src" },
]
[tool.poetry.scripts]
asyncapi-python-codegen = "asyncapi_python_codegen:app"
[tool.poetry.extras]
codegen = [
"jinja2",
"typer",
"asyncapi_python_codegen",
"pyyaml",
"datamodel-code-generator",
"black",
]
amqp = ["aio-pika"]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
pydantic = ">=2"
pytz = "*"
jinja2 = { version = "^3.1.4", optional = true }
typer = { extras = ["all"], version = "^0.12.5", optional = true }
datamodel-code-generator = { extras = [
"http",
], version = "^0.26.4", optional = true }
aio-pika = { version = "*", optional = true }
pyyaml = { version = "*", optional = true }
black = { version = "*", optional = true }
[tool.poetry.group.dev.dependencies]
black = "*"
mypy = "*"
isort = "*"
types-pyyaml = "*"
pytest = "*"
types-pytz = "*"
pytest-asyncio = "*"
pex = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"