Source: "scripts\pycrust"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
Source: "scripts\pywrap"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
Source: "scripts\xrced"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
-Source: "%(WXDIR)s\lib\vc_dll\wxrc.exe"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
+Source: "%(WXDIR)s\lib\vc_dll\wxrc.exe"; DestDir: "{code:GetPythonDir}\Scripts"; Components: core
Source: "samples\doodle\*.py"; DestDir: "{app}\wx\samples\doodle"; Components: samples
Source: "samples\doodle\*.txt"; DestDir: "{app}\wx\samples\doodle"; Components: samples
+Source: "samples\doodle\*.bat"; DestDir: "{app}\wx\samples\doodle"; Components: samples
Source: "samples\doodle\sample.ddl"; DestDir: "{app}\wx\samples\doodle"; Components: samples
Source: "samples\doodle\superdoodle.iss"; DestDir: "{app}\wx\samples\doodle"; Components: samples
this command to build the .exe and collect the
other needed files:
- python setup.py py2exe -w
+ python setup.py py2exe
- superdoodle.iss An InnoSetup script to build a self-installer of
- the superdoodle standalone executable. You can
- get InnoSetup from http://www.jrsoftware.org/.
- You may have to edit this file to make it work
- for your environment and python installation.
+ superdoodle.iss NOTE: This .iss file needs updating!
+ An InnoSetup script to build a self-installer of
+ the superdoodle standalone executable created
+ with py2exe. You can get InnoSetup from
+ http://www.jrsoftware.org/. You may have to edit
+ this file to make it work for your environment
+ and python installation.
+
+ cxfreeze.bat An example of creating an executable with the
+ cx_Freeze utility, downloadable from
+ http://starship.python.net/crew/atuining/cx_Freeze/
+ installer.bat An example of creating an executable with Gordon
+ McMillan's Installer utility.
--- /dev/null
+
+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
--- /dev/null
+
+rem This script is an example of how to use the McMillan Installer
+rem on a wxPython app to produce an executable.
+
+setlocal
+
+set INSTDIR=c:\tools\Installer
+
+python %INSTDIR%\Makespec.py --onedir --noconsole superdoodle.py
+python %INSTDIR%\Build.py superdoodle.spec
+
+endlocal
import py2exe
setup( name = "superdoodle",
- #console = ["superdoodle.py", "doodle.py"]
- windows = ["superdoodle.py", "doodle.py"]
+ #console = ["superdoodle.py"]
+ windows = ["superdoodle.py"] #, "doodle.py"]
)