mirror of
https://github.com/HKUDS/OpenSpace.git
synced 2026-09-07 08:25:54 +00:00
The original change removed atomacos from dependencies but left it bundled in the same try/except as AppKit. Without atomacos installed, the ImportError made MACOS_LIBS_AVAILABLE=False, silently disabling every macOS feature (screenshots, window control, etc.) even though they never use atomacos. - Split import into independent try/except blocks - Guard get_accessibility_tree() with ATOMACOS_AVAILABLE - Condense redundant comments in requirements files - Tighten README note into a blockquote
21 lines
748 B
Text
21 lines
748 B
Text
# Local server dependencies (cross-platform)
|
|
flask>=3.1.0
|
|
pyautogui>=0.9.54
|
|
pydantic>=2.12.0
|
|
requests>=2.32.0
|
|
|
|
# # macOS-specific dependencies (local server)
|
|
# pyobjc-core>=12.0; sys_platform == 'darwin'
|
|
# pyobjc-framework-cocoa>=12.0; sys_platform == 'darwin'
|
|
# pyobjc-framework-quartz>=12.0; sys_platform == 'darwin'
|
|
# atomacos excluded: requires pyautogui<0.9.42, conflicts with >=0.9.54
|
|
|
|
# # Linux-specific dependencies (local server)
|
|
# python-xlib>=0.33; sys_platform == 'linux'
|
|
# pyatspi>=2.38.0; sys_platform == 'linux'
|
|
# numpy>=1.24.0; sys_platform == 'linux'
|
|
|
|
# # Windows-specific dependencies (local server)
|
|
# pywinauto>=0.6.8; sys_platform == 'win32'
|
|
# pywin32>=306; sys_platform == 'win32'
|
|
# PyGetWindow>=0.0.9; sys_platform == 'win32'
|