Compiling a python program that uses pygame in an executable

I wanted to compile my python program that uses pygame in an executable using py2exe, but I am having some problems. I am running the script at the windows command prompt and it seems to work. It creates a dist directory, but when I try to open a .exe file, it briefly opens a command prompt window and then does nothing.

Perhaps this is possible because I used pygame and py2exe does not support it? Or do I need to put a copy of the pygame library in the same directory as my program?

+5
source share
2 answers

pygame: http://pygame.org/wiki/Pygame2exe pygame , BuildExe.__init__

+2

.exe , , - . , DLL, py2exe.

.

0

All Articles