Files
video-gen/video-gen-api/pyproject.toml
2026-06-11 18:13:03 +08:00

47 lines
1.1 KiB
TOML

# ⚠️ 系统依赖(需手动安装):
# ca-certificates — HTTPS 请求必须(新服务器/容器常缺)
# FFmpeg — 视频封面截帧(可选)
[project]
name = "videogen-api"
version = "1.0.0"
description = "VideoGen AI - Video Generation SaaS Backend"
requires-python = ">=3.10"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"sqlalchemy[asyncio]>=2.0.36",
"aiosqlite>=0.20.0",
"alembic>=1.14.0",
"pydantic>=2.10.0",
"pydantic-settings>=2.6.0",
"pyjwt>=2.10.0",
"bcrypt>=4.0.0",
"httpx>=0.28.0",
"python-multipart>=0.0.17",
"cryptography>=44.0.0",
]
[project.optional-dependencies]
pg = ["asyncpg>=0.30.0"]
redis = ["redis>=5.2.0"]
celery = ["celery>=5.4.0", "redis>=5.2.0"]
alipay = ["alipay-sdk-python>=3.7.1160"]
wxpay = ["wechatpayv3>=2.0.2"]
volc = ["volcengine-python-sdk>=1.1.0"]
dev = [
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"httpx>=0.28.0",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["app*"]