[wxpython-users] Suggestion for the wiki
Raffaello Barella
barbarossa.platz at gmail.com
Wed Mar 26 23:53:29 PDT 2008
Try with py2exe, that you'll find at www.*py2exe*.org/ , and with
pyinstaller, at http://pyinstaller.python-hosting.com/.
In any case the result is a file named setup.py that, started from the
command line, will transform your .py into an .exe file.
A very useful addition either to py2exe or pyinstaller is the following
file, named Make_exe.bat, to be put into the same directory:
rem *** Make_exe.bat***
rem *** Used to create a Python exe
rem ***** get rid of all the old files in the build folder
rd /S /Q build
rem ***** create the exe
E:\Python25\python setup.py py2exe
rem **** pause so we can see the exit codes
pause "done...hit a key to exit"
rem **** cancel the build directory
rd /S /Q build
Make_exe.bat has saved me a lot of work, because it allows to repeat the
action of converting all the revisions of your .py with a simple click. I am
only sorry that I have forgotten where I got it from, and so cannot thank
the author.
2008/3/27, Tony Cappellini <cappy2112 at gmail.com>:
>
> If it hasn't already been done, a good addition to the wiki would be
> an example of how to convert a demo app from the
> wxDemos into a stand alone program.
>
> If it has already been added, would someone send me the link?
> _______________________________________________
> wxpython-users mailing list
> wxpython-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200803=
27/ad145edb/attachment.htm
More information about the wxpython-users
mailing list