Py2exe, Pyglet, skellington & co.
I was trying today a first package using py2exe with pyglet (the create-upload.py script worked like a charm, but I wanted also a .exe). It creates the exe file, and the it seems to run... but only a white window is shown, nothing else happens. I had to kill the process manually 8( No error about libs or anything like that (well, I saw pyglet being included by py2exe)I thought that skellington was prepared for for py2exe, but I guess I have to create my own setup.py. The one I used obviously doesn't work (it only references run-game.py)
I'm using pyglet's resource loading mechanish, not skellington's, so that may be part of the problem. Are there any known issues with this or am I just doing something wrong?
(log in to comment)
Comments
Bizarre. I, too thought that the new Skellington would have solved the old packaging problems.
Also, skimming through the code, I wonder if
# define what is our source src = [] add_files(src,os.walk('lib')) src.extend(glob.glob('*.py'))
Should be changed to:
# define what is our source src = [] add_files(src,os.walk('gamelib')) src.extend(glob.glob('*.py'))
Woodwolf on 2008/09/11 14:54:
Ok, I reply myself:I found a working setup.py in skellington-11. Why doesn't skellington-18 include the same one?
Just in case you need it, I paste it here: