-
Notifications
You must be signed in to change notification settings - Fork 958
/
pyproject.toml
75 lines (67 loc) · 1.63 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
66
67
68
69
70
71
72
73
74
75
[tool.poetry]
name = "buzz-captions"
version = "1.0.2"
description = ""
authors = ["Chidi Williams <[email protected]>"]
license = "MIT"
readme = "README.md"
include = [
"buzz/libwhisper.*", "buzz/*.dll", "buzz/whisper_cpp.py", "buzz/locale/*/LC_MESSAGES/buzz.mo",
"buzz/dll_backup/*",
]
repository = "https://github.com/chidiwilliams/buzz"
packages = [
{ include = "buzz" },
]
[project]
requires-python = ">=3.9,<3.13"
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
sounddevice = "^0.4.5"
humanize = "^4.4.0"
PyQt6 = "6.6.1"
PyQt6-Qt6 = "6.6.2"
PyQt6-sip = "13.6.0"
openai = "^1.14.2"
keyring = "^25.0.0"
platformdirs = "^4.2.0"
dataclasses-json = "^0.6.4"
numpy = "^1.21.2"
requests = "^2.31.0"
yt-dlp = "2024.3.10"
stable-ts = "2.15.9"
faster-whisper = "1.0.1"
openai-whisper = "v20231117"
transformers = "4.39.1"
polib = "^1.2.0"
[tool.poetry.group.dev.dependencies]
autopep8 = "^1.7.0"
pyinstaller = "^6.5.0"
# Lock to 2023.11 to fix error in 2023.12:
# AttributeError: module 'dataclasses' has no attribute '__version__'
pyinstaller-hooks-contrib = "^2024.3"
six = "^1.16.0"
pytest = "^7.1.3"
pytest-cov = "^4.0.0"
pytest-qt = "^4.1.0"
pytest-xvfb = "^2.0.0"
pytest-mock = "^3.12.0"
pylint = "^2.15.5"
pre-commit = "^2.20.0"
pytest-benchmark = "^4.0.0"
ruff = "^0.1.3"
[tool.poetry.group.build.dependencies]
ctypesgen = "^1.1.1"
cmake = "^3.26.4"
polib = "^1.2.0"
[build-system]
requires = ["poetry-core", "ctypesgen", "setuptools", "cmake", "polib"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.build]
script = "build.py"
[tool.poetry.scripts]
buzz = "buzz.buzz:main"
[tool.ruff]
exclude = [
"**/whisper.cpp",
]