-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (85 loc) · 2.15 KB
/
pyproject.toml
File metadata and controls
90 lines (85 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "novel-video"
version = "1.4.0"
description = "AI 创意工坊 - 短视频自动制作 + AI 长篇小说创作"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
dependencies = [
"click>=8.0",
"pyyaml>=6.0",
"rich>=13.0",
"edge-tts>=6.1",
"Pillow>=10.0",
"aiofiles>=23.0",
]
[project.optional-dependencies]
gpu = [
"torch>=2.1",
"diffusers>=0.25",
"transformers>=4.36",
"accelerate>=0.25",
"safetensors>=0.4",
]
llm = [
"openai>=1.0",
]
gemini = [
"google-genai>=1.0",
]
deepseek = [
"openai>=1.0",
]
ollama = [
"ollama>=0.4",
]
cloud-image = [
"httpx>=0.27",
]
cloud-video = [
"httpx>=0.27",
]
agent = [
"langgraph>=0.2.0",
"langchain-core>=0.3.0",
"langchain-openai>=0.3.0",
]
agent-gemini = [
"langchain-google-genai>=2.0.0",
]
web = [
"fastapi>=0.115",
"uvicorn>=0.14",
"httpx>=0.27",
]
mcp = [
"fastmcp>=2.0",
]
ppt = [
"python-pptx>=0.6.21",
]
build = [
"pyinstaller>=6.0",
]
all = [
"novel-video[gpu,llm,gemini,ollama,cloud-image,cloud-video,agent,web,mcp,ppt]",
]
[project.scripts]
novel-video = "main:cli"
[tool.setuptools]
py-modules = ["main"]
packages = ["src", "src.segmenter", "src.promptgen", "src.imagegen", "src.videogen", "src.tts", "src.video", "src.llm", "src.utils", "src.agents", "src.tools", "src.task_queue", "src.novel", "src.novel.agents", "src.novel.models", "src.novel.storage", "src.novel.templates", "src.novel.tools", "src.novel.services", "src.scriptplan", "src.ppt", "src.ppt.layouts"]
[tool.pytest.ini_options]
markers = [
"integration: real API integration tests (require API keys)",
"e2e: end-to-end Playwright browser tests",
# Phase 5 新增
"llm_judge: requires real LLM call for quality judgment (slow, costs tokens)",
"real_run: requires real LLM for chapter generation (slow, costs tokens)",
"quality: quality assessment tests (may be slow)",
"regression: cross-genre regression tests (slow, real LLM)",
"signature: Agent signature compatibility checks (fast, no LLM)",
]