d682003509
Ohne python-gobject wählt pystray im uv-Venv das _xorg-Backend, das unter KDE/Wayland kein funktionierendes Tray-Menü liefert. Mit PyGObject als expliziter Linux-Dep greift pystray._appindicator (libayatana-appindicator) und das Menü funktioniert. System-Deps (nicht automatisch): libayatana-appindicator, gobject-introspection — im README dokumentiert bzw. nachzutragen. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
705 B
TOML
34 lines
705 B
TOML
[project]
|
|
name = "whisper-local"
|
|
version = "1.0.0"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"faster-whisper>=1.1.0",
|
|
"sounddevice>=0.5.0",
|
|
"numpy>=2.0.0",
|
|
"evdev>=1.7.0; sys_platform == 'linux'",
|
|
"PyGObject>=3.50; sys_platform == 'linux'",
|
|
"pynput>=1.7.0; sys_platform == 'win32'",
|
|
"pywin32>=306; sys_platform == 'win32'",
|
|
"pystray>=0.19.0",
|
|
"Pillow>=10.0.0",
|
|
"sv-ttk>=2.6.0",
|
|
"darkdetect>=0.8.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
whisper-local = "whisper_local.__main__:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
]
|
|
build = [
|
|
"pyinstaller>=6.0",
|
|
]
|