add
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
[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"
|
||||
Reference in New Issue
Block a user