-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (60 loc) · 2.19 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (60 loc) · 2.19 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 = "python-voiceio"
version = "0.9.9"
description = "Voice dictation for Linux. Speak → text, locally, instantly."
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [{ name = "Hugo Montenegro" }]
keywords = ["voice", "speech-to-text", "whisper", "linux", "dictation", "wayland", "ibus"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: X11 Applications",
"Intended Audience :: End Users/Desktop",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Sound/Audio :: Speech",
]
dependencies = [
"faster-whisper>=1.0.0",
"sounddevice>=0.4.6",
"numpy>=1.24.0",
"onnxruntime>=1.16.0",
"wordfreq>=3.0",
"evdev>=1.6.0; sys_platform == 'linux'",
"pynput>=1.7.6",
"pyperclip>=1.8.0; sys_platform == 'win32'",
"win11toast>=0.36; sys_platform == 'win32'",
]
[project.optional-dependencies]
win = ["pyperclip>=1.8.0", "win11toast>=0.36"]
tray = ["pystray>=0.19", "Pillow>=10.0"]
tts = ["piper-tts>=1.2.0"]
tts-cloud = ["edge-tts>=6.1.0"]
dev = ["pytest>=7.0", "pytest-mock"]
# Convenience bundle for a full Linux install (tray icon + local TTS). The core
# Linux deps (evdev, sounddevice) are already unconditional; system packages
# (IBus, PortAudio, a C toolchain) are installed separately — see README.
linux = ["pystray>=0.19", "Pillow>=10.0", "piper-tts>=1.2.0"]
[project.urls]
Homepage = "https://github.com/Hugo0/voiceio"
Repository = "https://github.com/Hugo0/voiceio"
Issues = "https://github.com/Hugo0/voiceio/issues"
Changelog = "https://github.com/Hugo0/voiceio/releases"
[project.scripts]
voiceio = "voiceio.cli:_entry_point"
# Legacy aliases (prefer: voiceio toggle/doctor/setup/test)
voiceio-toggle = "voiceio.cli:_cmd_toggle"
voiceio-doctor = "voiceio.cli:_cmd_doctor_legacy"
voiceio-setup = "voiceio.cli:_cmd_setup"
voiceio-test = "voiceio.cli:_cmd_test"
[tool.ruff]
lint.per-file-ignores."voiceio/ibus/engine.py" = ["E402"]
[tool.setuptools.packages.find]
include = ["voiceio*"]
[tool.setuptools.package-data]
"voiceio.sounds" = ["*.wav"]
"voiceio.models" = ["*.onnx"]