[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Re: Recent Mac OS X fixes for pygame



[I saw the original msg in the archives and joined the list now...]

I just wanted to say thanks for the OS X update for PyGame but I wanted
to inform you of a workaround I needed to use to get it to work.

When I installed the SDL frameworks, I installed the runtime versions to
/Library/Frameworks.  The devel- frameworks were installed to
~/Library/Frameworks (I didn't see an option to change this but that
doesn't matter).  I thus ended up with 2 sets of frameworks, ones with
the Headers subdir and ones without.

In config_darwin.py, the search for the frameworks stops when it finds
the dynamic lib, not the headers.  The search order was
/Library/Frameworks, then ~/Library/Frameworks.  It thus stopped after
finding the first (runtime) set of frameworks which had no Headers.

Also, it seems that
os.path.isfile("~/Library/Frameworks/SDL.framework/Versions/Current/SDL")
returns False even though it IS just a regular file.  Weird... I thus
just hard-coded /Users/bhammond/Library/Frameworks for my simple
install.. But I figured you'd like to know of this (weird?) setup.

Thanks!
Brian