I haven't had any problems with it. Maybe the from/import construct is confusing py2app? Try this: import pygame.mixer.music as music -FM
On Fri, Dec 12, 2008 at 12:26 PM, James Paige <b...@hamsterrepublic.com> wrote: > Hey, I was just working on bundling up a game for Mac with py2app, and > the app always crashes on any use of pygame.mixer.music. I can reproduce > it with code this simple: > > from pygame.mixer import music > > This works perfectly when I run it normally, but in a py2app bundle that > line (or any line that accesses pygame.mixer.music) will crash with an > AttributeError > > Has anybody else seen this? > > I am using Mac OS X 10.3 python 2.5.2 pygame 1.8.2 and I have tried both > py2app 0.3.6 (stable) and py2app 0.4.4 (dev) > > --- > James Paige >