mcp-demo/projects/auto-editor/pyproject.toml
2026-07-27 14:36:05 +08:00

45 lines
930 B
TOML

[project]
name = "auto-editor"
version = "0.1.0"
description = "带货短视频自动化剪辑全链路流水线"
requires-python = ">=3.11"
dependencies = [
"pydantic>=2.0",
"pydantic-settings>=2.0",
"structlog>=24.0",
"celery[redis]>=5.3",
"redis>=5.0",
"fastapi>=0.110",
"uvicorn[standard]>=0.27",
"pymilvus>=2.4",
"numpy>=1.26",
"Pillow>=10.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"ruff>=0.3",
"mypy>=1.8",
]
whisper = ["faster-whisper>=1.0"]
vectorize = ["volcenginesdkarkruntime>=1.0"]
transnet = ["torch>=2.0", "torchvision"]
all = ["auto-editor[dev,whisper,vectorize,transnet]"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.mypy]
python_version = "3.11"
strict = true