Revision 644,
741 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 | |
---|
1 | This file runs a python script that creates a standalone windows binary file, including needed libraries, from the game script and puts them in the dist folder. |
---|
2 | |
---|
3 | For this script you need the following (in addition to the games requirements): |
---|
4 | py2exe (http://www.py2exe.org/) |
---|
5 | python library dependencies that are installed as eggs need to be unzipped. This can be done with using -Z (short for --always-unzip) when installing with easy_python (example easy_install -Z pyyaml) or unzipping these manually (eggs are just renamed zips). PyYaml is such a dependency. py2exe with complain if dependencies are missing so check the log. |
---|
6 | |
---|
7 | Note that the to run the game the folders containing the data need to be in the same folder as the binary. |
---|
Note: See
TracBrowser
for help on using the repository browser.