From 6dce8fd3196ce940fb9b918c3c05af4ac86b7a24 Mon Sep 17 00:00:00 2001 From: Dillon DuPont Date: Thu, 23 Oct 2025 17:53:23 -0700 Subject: [PATCH] Fix optional deps on computer-server to auto-install depending on platform --- libs/python/computer-server/pyproject.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libs/python/computer-server/pyproject.toml b/libs/python/computer-server/pyproject.toml index 941359d1..712cb8c7 100644 --- a/libs/python/computer-server/pyproject.toml +++ b/libs/python/computer-server/pyproject.toml @@ -22,7 +22,13 @@ dependencies = [ "pillow>=10.2.0", "aiohttp>=3.9.1", "pyperclip>=1.9.0", - "websockets>=12.0" + "websockets>=12.0", + # OS-specific runtime deps + "pyobjc-framework-Cocoa>=10.1; sys_platform == 'darwin'", + "pyobjc-framework-Quartz>=10.1; sys_platform == 'darwin'", + "pyobjc-framework-ApplicationServices>=10.1; sys_platform == 'darwin'", + "python-xlib>=0.33; sys_platform == 'linux'", + "pywin32>=310; sys_platform == 'win32'", ] [project.optional-dependencies]