-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
54 lines (47 loc) · 1.22 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
[project]
name = "gameplay_computer"
authors = [
{ name = "Steve Olsen", email = "[email protected]" },
]
description = "play games"
requires-python = "~=3.11"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = ["version"]
dependencies = [
"fastapi[all]",
"sse-starlette",
"databases[asyncpg]",
"asyncpg_listen",
"sqlalchemy",
"sentry-sdk[fastapi, httpx]",
"jinja2",
"jinja2-fragments",
"jwcrypto",
"procrastinate",
]
[project.optional-dependencies]
test = ["pytest"]
lint = ["black[d]", "mypy", "ruff", "sqlalchemy-stubs"]
migrate = ["alembic", "psycopg2"]
[project.scripts]
gameplay_worker = "gameplay_computer.web.worker:main"
[build-system]
requires = ["maturin>=0.14,<0.15"]
build-backend = "maturin"
[tool.maturin]
module-name = "gameplay_computer._gameplay"
features = ["pyo3/extension-module"]
manifest-path = "crates/gameplay/Cargo.toml"
python-source = "src"
include = [
"src/gameplay_computer/web/static",
"src/gameplay_computer/web/templates"
]
[tool.mypy]
plugins = ["sqlmypy", "pydantic.mypy"]
exclude = "migrations"
strict = true