You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor drawing to use pyglet.shapes and improve macOS support
Replaces low-level pyglet.graphics drawing calls with pyglet.shapes primitives for lines, circles, and rectangles in graphics and widgets modules. Adds platform-specific handling for PyObjC dependencies and pyglet options for better compatibility on macOS, including PyPy support. Updates setup.py to install PyObjC only on CPython/macOS, and improves documentation for macOS and PyPy users.
Copy file name to clipboardExpand all lines: README.rst
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,20 @@ Pyperclip requires clipboard tools that might not come pre-installed.
21
21
22
22
sudo apt-get install xclip
23
23
24
-
Without them the app still works but pasting won’t.
24
+
Without them the app still works but pasting won't.
25
+
26
+
Note for macOS
27
+
~~~~~~~~~~~~~~
28
+
29
+
PyObjC is automatically installed on macOS systems for proper Cocoa/OpenGL integration with pyglet 2.0+. If you encounter OpenGL surface errors, ensure PyObjC is installed:
30
+
31
+
.. code:: sh
32
+
33
+
pip install pyobjc-core pyobjc-framework-Cocoa
34
+
35
+
This is handled automatically during normal installation.
36
+
37
+
**PyPy Users**: PyObjC doesn't support PyPy. TilingsGUI automatically configures pyglet to use shadow context disabled mode for PyPy compatibility on macOS.
0 commit comments