From: Tian Q. J. <Tia...@ga...> - 2005-06-30 09:42:28
|
hi, I wrote a little game with py2game and want to make a exe file using py2exe, but my executable's name is __init__.exe(I hope it be animalBlock.exe), how to change it? following is my setup.py: from distutils.core import setup import os, string, sys, glob import py2exe # Run the distutils setup. setup(name="animalBlock", version="0.01", windows=["__init__.py" ], # install the executable script data_files=[("images", glob.glob('images\\*.png')), ("sounds", glob.glob('sounds\\*.wav'))] # install the game media and documentation ) thanks tian qingjun |