Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using bundle_files = 1 with py2exe is not working

After some big frustration I did it! I converted my django app to an "exe" one to run as a single standalone app on windows (using cherrypy as a WSGI server) But When I try to to set py2exe's option "bundle_files" to "1" (i.e. bundle the python interpreter Python25.dll inside the generated exe) the generated exe crashes with a message talking about kernel32.dll

But when I use "bundle_file" = "2", the generated exe is runing like a charm, but must -of course- have Python25.dll as a separate file beside it.

Anyone experienced a similar behavior, can you please tell me what I'm missing?

Thank you! :)

like image 254
sandra Avatar asked May 25 '10 23:05

sandra


1 Answers

this post talks all about using py2exe to get a single exe file.

py2exe - generate single executable file

If you post some code i'll take a look, and your error message will help to.

like image 171
Nor Avatar answered Sep 17 '22 14:09

Nor