Files
video/server/pyproject.toml
T
2026-10-15 20:36:59 +08:00

50 lines
997 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[project]
name = "video-server"
version = "0.1.0"
description = "短视频应用后端服务(FastAPI)"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"sqlalchemy[asyncio]>=2.0",
"aiomysql>=0.2",
"alembic>=1.13",
"pydantic>=2.6",
"pydantic-settings>=2.2",
"PyYAML>=6.0",
"redis>=5.0",
"PyJWT>=2.8",
"bcrypt>=4.1",
"celery>=5.4",
"httpx>=0.27",
"python-multipart>=0.0.9",
"cryptography>=42",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"ruff>=0.4",
]
# 支付渠道 SDK(按需安装,与核心服务解耦)
pay = [
"alipay-sdk-python>=3.6",
"wechatpay-python>=1.2",
"tronpy>=0.5",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["app*"]
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.pytest.ini_options]
asyncio_mode = "auto"