buzz/pyproject.toml

68 lines
1.7 KiB
TOML
Raw Normal View History

2022-09-27 02:02:57 +02:00
[tool.poetry]
2023-10-28 20:57:54 +02:00
name = "buzz-captions"
2024-03-15 18:58:45 +01:00
version = "0.9.0"
2022-09-27 02:02:57 +02:00
description = ""
authors = ["Chidi Williams <williamschidi1@gmail.com>"]
license = "MIT"
readme = "README.md"
2023-10-28 19:32:31 +02:00
include = ["buzz/libwhisper.*", "buzz/whisper_cpp.py"]
2023-10-28 20:57:54 +02:00
repository = "https://github.com/chidiwilliams/buzz"
packages = [
{ include = "buzz" },
]
2022-09-27 02:02:57 +02:00
[tool.poetry.dependencies]
python = ">=3.9.13,<3.11"
2022-09-27 02:02:57 +02:00
sounddevice = "^0.4.5"
2022-10-15 14:10:10 +02:00
humanize = "^4.4.0"
2023-11-09 10:20:38 +01:00
PyQt6 = "^6.4.0"
openai = "^1.14.2"
2024-03-23 21:55:50 +01:00
keyring = "^25.0.0"
platformdirs = "^4.2.0"
dataclasses-json = "^0.6.4"
numpy = "^1.21.2"
2024-01-06 20:02:58 +01:00
requests = "^2.31.0"
2024-03-23 21:55:50 +01:00
yt-dlp = "2024.3.10"
# Only install on non-Linux to prevent execstack errors
2024-03-23 21:55:50 +01:00
stable-ts = { version = "2.15.9", markers = "sys_platform != 'linux'" }
faster-whisper = { version = "^1.0.1", markers = "sys_platform != 'linux'" }
openai-whisper = { version = "v20231117", markers = "sys_platform != 'linux'" }
2024-03-23 21:55:50 +01:00
transformers = { version = "^4.39.1", markers = "sys_platform != 'linux'" }
2022-09-27 02:02:57 +02:00
[tool.poetry.group.dev.dependencies]
autopep8 = "^1.7.0"
2024-03-24 22:05:01 +01:00
pyinstaller = "^6.5.0"
# Lock to 2023.11 to fix error in 2023.12:
# AttributeError: module 'dataclasses' has no attribute '__version__'
2024-03-24 22:05:01 +01:00
pyinstaller-hooks-contrib = "^2024.3"
2022-09-27 03:26:13 +02:00
six = "^1.16.0"
2022-10-01 19:55:39 +02:00
pytest = "^7.1.3"
2022-10-02 10:28:47 +02:00
pytest-cov = "^4.0.0"
2022-10-13 09:38:10 +02:00
pytest-qt = "^4.1.0"
2022-10-04 22:54:16 +02:00
pytest-xvfb = "^2.0.0"
pytest-mock = "^3.12.0"
2022-10-22 23:23:40 +02:00
pylint = "^2.15.5"
pre-commit = "^2.20.0"
2023-04-25 20:27:40 +02:00
pytest-benchmark = "^4.0.0"
2023-10-28 19:32:31 +02:00
ruff = "^0.1.3"
2022-09-27 02:02:57 +02:00
2023-06-12 14:09:08 +02:00
[tool.poetry.group.build.dependencies]
ctypesgen = "^1.1.1"
cmake = "^3.26.4"
2022-09-27 02:02:57 +02:00
[build-system]
2023-06-12 14:09:08 +02:00
requires = ["poetry-core", "ctypesgen", "setuptools", "cmake"]
2022-09-27 02:02:57 +02:00
build-backend = "poetry.core.masonry.api"
2023-06-12 14:09:08 +02:00
[tool.poetry.build]
script = "build.py"
2023-10-29 17:21:19 +01:00
[tool.poetry.scripts]
buzz = "buzz.buzz:main"
2023-11-09 10:20:38 +01:00
[tool.ruff]
exclude = [
"**/whisper.cpp",
]