-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (34 loc) · 829 Bytes
/
pyproject.toml
File metadata and controls
40 lines (34 loc) · 829 Bytes
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "smart-subtitle"
version = "0.1.0"
description = "Align and enhance subtitles from multiple sources using Whisper and LLM"
requires-python = ">=3.10"
license = {text = "MIT"}
dependencies = [
"faster-whisper>=1.0.0",
"pysubs2>=1.6.0",
"opencc-python-reimplemented>=0.1.7",
"rapidfuzz>=3.0.0",
"pydantic>=2.0.0",
"click>=8.1.0",
"pyyaml>=6.0",
"openai>=1.0.0",
"tqdm>=4.65.0",
"numpy>=1.24.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
]
[project.scripts]
smart-subtitle = "smart_subtitle.cli.main:cli"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py310"