Hello Tristam,
Thank you so much for your efforts on this port.
I did a quick try but got the following result on Leopard 10.5.8 with
Python 2.6
Traceback (most recent call last):
File "hello_world.py", line 43, in <module>
from pyglet.window.event import WindowEventLogger
File "/Volumes/Data/Users/rougier/Downloads/pyglet/pyglet/window/
__init__.py", line 1669, in <module>
from pyglet.window.cocoa import CocoaPlatform, CocoaWindow
File "/Volumes/Data/Users/rougier/Downloads/pyglet/pyglet/window/
cocoa/__init__.py", line 64, in <module>
from Cocoa import *
ImportError: No module named Cocoa
I ran the hello_world.py example without any installation. I tried to
find where to get the Cocoa python package but did not find any hints.
Did I miss something obvious ?
Nicolas
On 24 Sep, 2009, at 18:22 , Tristam MacDonald wrote:
> Here is an alpha release of the pyglet-cocoa backend, for testing
> purposes.
>
> I have included the entire pyglet distribution, so you should be
> able to unpack the zip file into your project directory, which will
> override the version of pyglet you have previously installed.
>
> The included version of hello_world.py demonstrates basic
> functionality, but a wider range of tests is needed.
>
> What does work:
> * windowed and fullscreen mode
> * beautiful Cocoa-based font rendering
> * mouse and keyboard events
>
> What may work:
> * multiple windows
> * fullscreen on a secondary monitor
>
> What doesn't work:
> * text input
> * various window events
>
> What I need from you:
> * confirmation that this runs out of the box on Snow Leopard,
> Leopard, and/or Tiger with PyObjC installed
> * a list of functionality which is missing
>
> Note that Cocoa will spam the console with a lot of error and
> warning messages - most of these are related to memory management,
> and can be safely ignored for the moment.
>
> --
> Tristam MacDonald
> http://swiftcoder.wordpress.com/
>
> >
> <pyglet-cocoa.zip>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---