68 lines
1.4 KiB
TOML
68 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "kca-app"
|
|
version = "0.1.0"
|
|
description = "KCA: kaya application wiring, Tortoise models, API and SPA hosting"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"kca-core",
|
|
"kaya-core>=0.0.7",
|
|
"kaya-cors",
|
|
"kaya-session",
|
|
"kaya-session-redis",
|
|
"kaya-oidc>=0.0.7",
|
|
"kaya-openapi",
|
|
"kaya-rsgi",
|
|
"granian>=2.0",
|
|
"tortoise-orm>=0.25",
|
|
"asyncpg",
|
|
"aerich",
|
|
"httpx",
|
|
"PyJWT[crypto]",
|
|
"PyYAML",
|
|
"redis",
|
|
"cryptography>=44",
|
|
"cbor2",
|
|
"pyOpenSSL>=25",
|
|
"paramiko>=3.5",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
otel = [
|
|
"kaya-otel>=0.0.7",
|
|
"opentelemetry-instrumentation-asyncpg>=0.66b0",
|
|
"opentelemetry-instrumentation-redis>=0.66b0",
|
|
"opentelemetry-instrumentation-system-metrics>=0.66b0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"mypy",
|
|
"types-PyYAML",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
namespaces = true
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
ignore_missing_imports = true
|
|
plugins = []
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "kca.models"
|
|
disable_error_code = ["attr-defined"]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "kca.service"
|
|
disable_error_code = ["attr-defined", "assignment", "index", "arg-type"]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "kca.routes.*"
|
|
disable_error_code = ["attr-defined", "assignment", "index", "arg-type"]
|