build: add platform-conditional dependencies for evdev and pynput

This commit is contained in:
Vitali Graf
2026-04-08 10:24:39 +02:00
parent 9c058a1ec8
commit 4997bc6378
+2 -1
View File
@@ -5,8 +5,9 @@ requires-python = ">=3.13"
dependencies = [
"faster-whisper>=1.1.0",
"sounddevice>=0.5.0",
"evdev>=1.7.0",
"numpy>=2.0.0",
"evdev>=1.7.0; sys_platform == 'linux'",
"pynput>=1.7.0; sys_platform == 'win32'",
]
[project.scripts]