39 lines
1022 B
TOML
39 lines
1022 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "tavolo-platform"
|
|
version = "0.1.0"
|
|
description = "Game-independent multiplayer game platform (lobby, live play, match history, leaderboards) built on the kaya framework"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"kaya-core>=0.0.7",
|
|
"kaya-session",
|
|
"kaya-oidc>=0.0.7",
|
|
"kaya-openapi",
|
|
"tortoise-orm",
|
|
"redis",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
namespaces = true
|
|
|
|
[tool.mypy]
|
|
python_version = "3.12"
|
|
ignore_missing_imports = true
|
|
plugins = []
|
|
|
|
# TortoiseORM auto-generates `<fk>_id` attributes on ForeignKeyField at
|
|
# runtime; without the (unavailable here) tortoise mypy plugin the stubs
|
|
# only declare the relation field. These are real attributes, not bugs.
|
|
[[tool.mypy.overrides]]
|
|
module = "tavolo.platform.models"
|
|
disable_error_code = ["attr-defined"]
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = "tavolo.platform.routes.*"
|
|
disable_error_code = ["attr-defined"]
|