From 4997bc6378f1eb8d21768225c3d97e4bf993f904 Mon Sep 17 00:00:00 2001 From: Vitali Graf Date: Wed, 8 Apr 2026 10:24:39 +0200 Subject: [PATCH] build: add platform-conditional dependencies for evdev and pynput --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7f2fb32..737f73b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]