28 lines
685 B
TOML
28 lines
685 B
TOML
[project]
|
|
name = "open-maopaoya"
|
|
version = "0.1.0"
|
|
description = "Open Maopaoya - AI roleplay platform with dynamic novel engine"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn[standard]>=0.34",
|
|
"sqlalchemy[asyncio]>=2.0",
|
|
"alembic>=1.14",
|
|
"pydantic>=2.10",
|
|
"pydantic-settings>=2.7",
|
|
"python-jose[cryptography]>=3.3",
|
|
"bcrypt>=4.2",
|
|
"httpx>=0.28",
|
|
"cryptography>=44.0",
|
|
"python-multipart>=0.0.20",
|
|
"aiosqlite>=0.20",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
# 商用切换: DATABASE_URL=mysql+aiomysql://... 或 postgresql+asyncpg://...
|
|
mysql = ["aiomysql>=0.2"]
|
|
postgres = ["asyncpg>=0.30"]
|
|
|
|
[tool.uv]
|
|
package = false
|