source: trunk/game/setup_exe.py @ 644

Revision 644, 378 bytes checked in by beliar, 9 years ago (diff)

Patch by Beliar

  • Added a script file that can be used to create a windows binary from the game script. Read "create_exe.bat.txt" to see how its used.
Line 
1from distutils.core import setup
2import py2exe   
3
4excludes = ['_scproxy', 'dummy.Process', 'guichan', 'objects.createObject']
5
6setup(options = {"py2exe":{
7                 "excludes": excludes}
8                 },
9      console = [{"script": "run.py", 
10                  "dest_base": "Parpg",
11                  "icon_resources": [(1, "gui/icons/window_icon.ico")]}])
Note: See TracBrowser for help on using the repository browser.