]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/make_installer.py
Applied patch [ 793000 ] "unreachable code" changes in wxrc contrib util
[wxWidgets.git] / wxPython / distrib / make_installer.py
CommitLineData
d7ec6564 1"""
d7ec6564
RD
2This script will generate a setup script for InnoSetup and then run it
3to make the installer executable. If all goes right the proper versions
4of Python and wxWindows (including hybrid/final settings) will all be
5calculated based on what wxc.pyd imports and an appropriate installer
6will be created.
7"""
8
9
1e4a197e 10import sys, os, time
d7ec6564 11
d7ec6564 12KEEP_TEMPS = 0
0815db26 13ISCC = r"%s\InnoSetup2Ex\ISCC.exe %s"
d7ec6564
RD
14
15#----------------------------------------------------------------------
16
17ISS_Template = r'''
18;;------------------------------------------------------------
19
20[Setup]
21AppName = wxPython
faa20af7 22AppVerName = wxPython %(VERSION)s for Python %(PYTHONVER)s
54f07ec4 23OutputBaseFilename = wxPythonWIN32-%(VERSION)s-%(PYVER)s
1e4a197e 24