Add cx_Freeze and Installer examples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
16
wxPython/samples/doodle/cxfreeze.bat
Executable file
16
wxPython/samples/doodle/cxfreeze.bat
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
rem This script is an example of how to use cx_Freeze on a wxPython
|
||||
rem app to produce an executable.
|
||||
|
||||
setlocal
|
||||
set CXDIR=c:\tools\cx_Freeze-2.2
|
||||
rem set CXBASE=ConsoleBase.exe
|
||||
set CXBASE=Win32GUIBase.exe
|
||||
|
||||
mkdir cxdist
|
||||
%CXDIR%\FreezePython.exe --base-binary %CXDIR%\%CXBASE% --install-dir cxdist superdoodle.py
|
||||
|
||||
rem NOTE: Only the python DLL is copied to cxdist, you'll still need
|
||||
rem to copy the wxWidgets DLLs and any others that are needed...
|
||||
|
||||
endlocal
|
Reference in New Issue
Block a user