Using bundle_files = 1 with py2exe is not working

后端 未结 4 943
小蘑菇
小蘑菇 2020-12-31 05:23

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 tr

4条回答
  •  粉色の甜心
    2020-12-31 05:31

    I also faced similar problem. But mine is with PyGTK. Simple program has no problem with it. Although there is no straight solution, there is an explanation provided here.

    It says:

    This is based on the Inno sample code in the py2exe distribution. It has worked successfully for a rather complicated PyGTK/Twisted app requiring extra data at runtime (GTK runtime data, GtkBuilder files, images, text data) that just wouldn't work with bundle_files.

提交回复
热议问题