On Wed, May 21, 2008 at 9:54 AM, Brian Fisher <
brian@xxxxxxxxxxxxxxxxxxx> wrote:
... however I tried making a very minimal py2exe script for main.py, and making an exe with that, and the exe works fine. So it seems that finding out what between my minimal setup script and Keith's (or Bo's) causes this problem to start occurring could help pin down what exactly it is about the environment that py2exe creates that breaks pygame's mixer.music importing and/or binding
here is the minimal script that produces a working exe for me (you have to manually copy the audio files tho):
------------------------------------------
from distutils.core import setup
import py2exe
import sys
sys.argv.append("py2exe")
setup(windows=['main.py'],
options = {'py2exe': {'optimize': 2, 'bundle_files':1} },
zipfile=None)