I made a python file with pygame that is a game. Using py2app I was able to make it a stand alone application for my computer(os x Yosemite) but when I tried to run it on a different computer the application crashed before opening. I made sure to include all the files I used in the game script. Is there something wrong with my setup.py file. Below is the setup.py file.
from setuptools import setup
APP = ['Tilegame.py']
DATA_FILES = ['BGmusic.wav', 'Clicknoise.wav', 'HighScoreeasy.txt',
'Losenoise.wav', 'HighScoreimpossible.txt',
'HighScorehard.txt','HighScoreintermediate.txt']
OPTIONS = {'argv_emulation': False, 'includes': ['EXTERNAL LIBRARY']}
setup(
app = APP,
data_files = DATA_FILES,
options = {'py2app':OPTIONS},
setup_requires = ['py2app'],
)
This is the error message I get when I try to run the app on another computer: https://docs.google.com/document/d/13ehvvNy1hrhTxTB_P76b6KxZ5aTI51Cy3It9u0GwvMM/edit?usp=sharing