-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (58 loc) · 1.45 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (58 loc) · 1.45 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "docgen"
version = "0.2.0"
description = "Reusable narrated demo pipeline: OpenAI TTS, Whisper word timestamps, Manim, ffmpeg composition, validation, GitHub Pages publishing"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [{name = "jmjava"}]
dependencies = [
"click>=8.0",
"pyyaml>=6.0",
"openai>=1.0",
"flask>=3.0",
"jinja2>=3.1",
"opencv-python>=4.8",
"numpy>=1.24",
"pytesseract>=0.3.10",
]
[project.optional-dependencies]
manim = ["manim>=0.18"]
gui = ["pywebview>=5.0"]
packaging = [
"pyinstaller>=6.0",
"pywebview>=5.0",
]
dev = [
"pytest>=7.0",
"pytest-cov",
"ruff",
]
[project.scripts]
docgen = "docgen.cli:main"
docgen-gui = "docgen.gui.__main__:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
docgen = [
"templates/*.html",
"static/*.css",
"static/*.js",
"static/vendor/*",
"benchmark_data/*",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"integration: optional network/OpenAI; skipped when credentials unavailable",
]
[tool.ruff]
line-length = 100
target-version = "py310"
# Pin the classic default rule set. Ruff 0.16+ enables a much broader default
# selection that fails the existing codebase; keep CI on the historical E/F gate.
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]