Possible Duplicate:
py2exe – generate single executable file
A friend of mine managed to pack some a Ruby script he wrote in a single exe file. When I tried to do the same thing for a Python script, with py2exe, I also got several pyd files and a dll.
Is it possible to pack a Python script with all it’s DLL’s and pyd files into just one exe, and get rid of the other files?
According to py2exe.org:
There’s also another little tutorial on creating a single exe which will expand DLLs into a temporary directory at runtime, then delete the tempdir when Python exits.