]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/make_installer.py
In GetPath(), don't append separator if there's already one at the end
[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
b96c7a38 10import sys, os, string
d7ec6564 11
d7ec6564 12KEEP_TEMPS = 0
b96c7a38 13ISCC = r"C:\TOOLS\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
d7ec6564
RD
23OutputBaseFilename = wxPython-%(VERSION)s-%(PYVER)s
24