Both were missing from [project.dependencies] in pyproject.toml and requirements.txt. httpx is used in web/routers/art.py, and websockets is needed for the FastAPI WebSocket endpoints in ws.py and lobby.py. Closes #37
42 lines
857 B
TOML
42 lines
857 B
TOML
[build-system]
|
|
requires = ["setuptools>=64", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "commander-ai-lab"
|
|
version = "1.0.0"
|
|
description = "Commander AI Lab — EDH deck simulation, collection management, and analysis tools"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = {text = "MIT"}
|
|
|
|
dependencies = [
|
|
"fastapi>=0.100.0",
|
|
"uvicorn[standard]>=0.23.0",
|
|
"pydantic>=2.0.0",
|
|
"httpx>=0.24.0",
|
|
"websockets>=11.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-asyncio>=0.21",
|
|
"httpx>=0.24.0",
|
|
"ruff>=0.1.0",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[project.scripts]
|
|
commander-sim = "commander_ai_lab.lab.experiments:_cli_main"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = [".", "src"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py310"
|