From: Thomas H. <th...@py...> - 2004-12-02 21:02:21
|
Gregory Piñero <gre...@gm...> writes: > Wow it finally worked! Thanks! > > I just had to add: > from PythonCard.components import > button,image,staticbox,statictext,textarea,textfield > > Though I'm slightly dissapointed it didn't make just one big exe file, > but rather a whole folder of junk. Do I need to bring that whole > folder to another computer in order to run my program? Yes, you need the whole folder. Maybe in the future py2exe will allow to create real single file executables for simple cases (not too many python extension modules), but it will probably never happen for wxPython apps, where the wxPython dll (dlls?) are needed as well. OTOH, there's a recipe in the py2exe wiki which creates a single exe-file which at runtime unpacks all the stuff, and cleans up afterwards. Personally, I never found that very nice. Here's the link http://starship.python.net/crew/theller/moin.cgi/SingleFileExecutable Thomas |