返回 MoneyPrinterTurbo
pyproject.toml
根目录 / pyproject.toml
1 # 说明:
2 # 1. 主依赖来源统一收敛到 pyproject.toml。
3 # 2. 运行环境通过 uv.lock 固定,避免不同机器解析出不同版本组合。
4 [build-system]
5 requires = ["hatchling>=1.27.0"]
6 build-backend = "hatchling.build"
7
8 [project]
9 name = "moneyprinterturbo"
10 version = "1.3.0"
11 description = "Generate short videos from prompts, local assets, subtitles, and TTS."
12 readme = "README-en.md"
13 requires-python = ">=3.11,<3.13"
14 license = { text = "MIT" }
15 dependencies = [
16 "moviepy==2.2.1",
17 "streamlit==1.58.0",
18 "edge-tts==7.2.7",
19 "fastapi==0.136.3",
20 "uvicorn==0.32.1",
21 "openai==2.24.0",
22 "faster-whisper==1.1.0",
23 "loguru==0.7.3",
24 "google-generativeai==0.8.6",
25 "dashscope==1.20.14",
26 "azure-cognitiveservices-speech==1.41.1",
27 "redis==5.2.0",
28 "python-multipart==0.0.27",
29 "pyyaml==6.0.3",
30 "requests==2.33.1",
31 "socksio==1.0.0",
32 "pydub==0.25.1",
33 "litellm==1.86.2",
34 ]
35
36 [project.optional-dependencies]
37 g4f = [
38 "g4f==0.5.2.2",
39 ]
40 # Optional TwelveLabs (https://twelvelabs.io) video-understanding/embedding
41 # integration. Only needed when `twelvelabs_api_keys` is configured; install
42 # with `uv sync --extra twelvelabs`.
43 twelvelabs = [
44 "twelvelabs>=1.2.8",
45 ]
46
47 [tool.hatch.build.targets.wheel]
48 packages = ["app"]
49
50 [tool.uv]
51 # 当前项目以应用运行形态为主,不作为可发布的 Python 包安装。
52 package = false
53
53 lines TOML