[build-system] requires = ["setuptools>=68"] build-backend = "setuptools.build_meta" [project] name = "tavolo" version = "0.1.0" description = "Multiplayer card-game platform backend built on the kaya framework" readme = "README.md" requires-python = ">=3.10" dependencies = [ "kaya-core", "kaya-session", "kaya-session-redis", "kaya-oidc", "kaya-openapi", "kaya-rsgi", "granian>=2.0", "tortoise-orm", "aerich", "asyncpg", "httpx", "PyJWT[crypto]", "pwo", "redis", ] [project.optional-dependencies] dev = [ "mypy", "httpx-ws", ] [tool.setuptools.packages.find] where = ["src"] namespaces = false # Database migrations (aerich). See the Migrations section in README.md. [tool.aerich] tortoise_orm = "tavolo.aerich_config.TORTOISE_ORM" location = "./migrations" [tool.mypy] python_version = "3.12" ignore_missing_imports = true plugins = [] # TortoiseORM auto-generates `_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.models" disable_error_code = ["attr-defined"] [[tool.mypy.overrides]] module = "tavolo.routes.*" disable_error_code = ["attr-defined"] [[tool.mypy.overrides]] module = "tavolo.game.*" disable_error_code = ["attr-defined"]