feat: Windows-Packaging mit PyInstaller (ZIP ohne Python-Installation)

Fügt Build-Infrastruktur hinzu, mit der whisper-local als
selbständiges Windows-ZIP-Paket ohne Python-Installation
bereitgestellt werden kann.

- whisper_local.spec: PyInstaller onedir-Konfiguration für Windows 64-bit
  mit allen nativen DLLs (ctranslate2/CUDA, pywin32, PortAudio,
  onnxruntime, av/FFmpeg) und Hidden Imports für platform-bedingte Backends
- build.ps1: Build-Skript das versioniertes ZIP erstellt (.\build.ps1 -Clean)
- transcriber.py: portabler Modell-Cache neben der EXE im gebündelten Modus
- pyproject.toml: pyinstaller>=6.0 als [build]-Abhängigkeitsgruppe, v1.0.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-11 12:01:02 +02:00
parent 7319ff6299
commit 05ff5765bf
5 changed files with 350 additions and 3 deletions
+4 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "whisper-local"
version = "0.1.0"
version = "1.0.0"
requires-python = ">=3.13"
dependencies = [
"faster-whisper>=1.1.0",
@@ -27,3 +27,6 @@ dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
]
build = [
"pyinstaller>=6.0",
]