Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Fix optional deps on computer-server to auto-install depending on platform

Dillon DuPont6dce8fd3196c
diff --git a/libs/python/computer-server/pyproject.toml b/libs/python/computer-server/pyproject.toml
index 941359d1df..712cb8c760 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]