49 lines
1019 B
TOML
49 lines
1019 B
TOML
[project]
|
|
name = "dreamweaver"
|
|
version = "0.1.0"
|
|
description = "AI 驱动的儿童故事生成应用"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.115.0",
|
|
"uvicorn[standard]>=0.32.0",
|
|
"sqlalchemy[asyncio]>=2.0.0",
|
|
"asyncpg>=0.30.0",
|
|
"pydantic>=2.0.0",
|
|
"pydantic-settings>=2.0.0",
|
|
"python-jose[cryptography]>=3.3.0",
|
|
"cryptography>=43.0.0",
|
|
"httpx>=0.28.0",
|
|
"alembic>=1.13.0",
|
|
"cachetools>=5.0.0",
|
|
"tenacity>=8.0.0",
|
|
"structlog>=24.0.0",
|
|
"sse-starlette>=2.0.0",
|
|
"celery>=5.4.0",
|
|
"redis>=5.0.0",
|
|
"edge-tts>=6.1.0",
|
|
"openai>=1.0.0",
|
|
"python-multipart>=0.0.9",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
"pytest-cov>=4.0.0",
|
|
"aiosqlite>=0.20.0",
|
|
"ruff>=0.8.0",
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["app*"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|