-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathpyproject.toml
65 lines (52 loc) · 1.62 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=65.5.1", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "transcribe-anything"
version = "3.0.0" # Update this manually or configure setuptools-scm for automatic versioning
readme = "README.md"
description = "Uses Whisper AI to transcribe speech from video and audio files. Also accepts URLs for YouTube, Rumble, BitChute, clear file links, etc."
requires-python = ">=3.10"
keywords = ["transcribe", "openai", "whisper"]
license = { text = "BSD-3-Clause" }
dependencies = [
"static-ffmpeg>=2.7",
"yt-dlp>=2025.1.15",
"appdirs>=1.4.4",
"disklru>=1.0.7",
"FileLock",
"webvtt-py==0.4.6",
"uv-iso-env>=1.0.36",
"python-dotenv>=1.0.1",
]
maintainers = [{ name = "Zachary Vorhies", email = "[email protected]" }]
[project.urls]
homepage = "https://github.com/zackees/transcribe-anything"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["transcribe_anything*"]
exclude = ["tests*", "docs*", "examples*"]
namespaces = false # Prevent setuptools from looking elsewhere
[project.scripts]
transcribe_anything = "transcribe_anything._cmd:main"
transcribe-anything = "transcribe_anything._cmd:main"
[tool.ruff]
line-length = 200
[tool.pylint."MESSAGES CONTROL"]
good-names = ["c", "i", "ok", "id", "e", "f"]
disable = [
"missing-function-docstring",
"missing-module-docstring"
]
[tool.isort]
profile = "black"
[tool.mypy]
ignore_missing_imports = true
disable_error_code = ["import-untyped"]
[tool.black]
line-length = 200
target-version = ['py310']
[tool.uv.workspace]
members = ["tmp"]