PyWeek - Packaging script for py2exeHey all!
It seems that I'm not the only one who ran into trouble trying to package the Skellington into an executable with py2exe. The main problem seemed to be with the way the Skellington loaded the lib directory, and it had trouble finding the required modules once packaged up.
So thanks to some help by many other people, I've been able to create a Python script that will package up your game.
Here is the setup script. Extract this zip file into your Skellington game's lib directory, then execute the script. Give it the name of the final EXE that you want to create, and then tell it if you want it to be a console or Windows app. It will take care of the rest, and place the results in the /dist directory, ready for you to rename, zip up, and upload to your favorite host.
It's still in the early alpha version, but I hope it's helpful to you, and the code is released into the public domain (there's not much to it).
This script worked for me, and allowed me to finally create an EXE package of my game, Slacker.
Please place any feedback or questions as comments here, or feel free to e-mail me at hanclinto at gmail dot com.
Comments: (log in to comment)