On Wed, Mar 9, 2011 at 8:37 AM, Bruce Smith <[email protected]> wrote:
> On Mon, Mar 7, 2011 at 10:02 AM, Tristam MacDonald <[email protected]>
> wrote:
>>
>> On Mon, Mar 7, 2011 at 12:08 PM, Bruce Smith <[email protected]> wrote:
>>>
>>> If it is, instead, an alternative implementation of the existing "mac"
>>> platform choice, then I don't see how it can ever be merged without changing
>>> that, until it becomes so complete that no one ever needs carbon again.
>>
>> Keep in mind that very few people can use the existing Carbon
>> implementation.
>> It won't run on OS 10.6 at all, unless you install a custom 32-bit python,
>> and it only runs on some OS 10.5 installations by the happy accident that
>> they sometimes retain an outdated 32-bit python during the upgrade process.
>> Basically any Mac purchased or upgraded in the last couple of years, won't
>> run Pyglet out of the box.
>
> That's technically true, but it's easy to install a 32-bit python under Mac
> OS 10.6 and then run pyglet.
Actually I've found that's a little dangerous. Depending on how it's
done (and there's three methods that spring immediately to mind:
source, python.org binary and ActiveState binary) it'll most likely
confusticate your "default" python installation, potentially breaking
other things.
I've just tried the cocoa branch and it failed for me using
ActiveState Python 2.6.4.10 (installed over the broken system python,
basically) and PyObjC 2.2b2:
>>> import pyglet.gl
... snip ...
File
"/Users/richard/src/projects/pyglet/cocoa-port/pyglet/window/cocoa/__init__.py",
line 97, in initWithWindow_
self, "applicationDidHide:", NSApplicationDidHideNotification, None)
NameError: global name 'NSApplicationDidHideNotification' is not defined
I'll see whether I can upgrade the PyObjC version to the 2.2 release.
Richard
--
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.