[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] still no ideas on that py2app pygame.mixer.music thing?
Still no ideas on that pygame.mixer.mysic in py2app bundles? Here are my
test files in case somebody else with a Mac has a chance to try them
out
I didn't attach song.ogg, since it was big, but it is at
http://hamsterrepublic.com/tmp/song.ogg or you can substitute any ogg
file of your own.
---
James Paige
import pygame
pygame.init()
pygame.mixer.init()
pygame.mixer.music.load("song.ogg")
pygame.mixer.music.play(-1)
pygame.time.wait(10000)
from distutils.core import setup
import sys
import py2app
sys.argv[1:] = ["py2app"]
setup(
description = "pygame.mixer.music with py2app test",
name = "musictest",
data_files = ["song.ogg"],
app = ["test.py"],
)