]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/make_installer.py
-1->wxID_ANY, TRUE->true, FALSE->false and tabs replacements.
[wxWidgets.git] / wxPython / distrib / make_installer.py
CommitLineData
8b9a4190
RD
1# -*- coding: iso-8859-1 -*-
2#----------------------------------------------------------------------
3# Name: make_installer.py
4# Purpose: A script to create the wxPython windows installer
5#
6# Author: Robin Dunn
7#
8# Created: 30-April-2001
9# RCS-ID: $Id$
10# Copyright: (c) 2003 by Total Control Software
11# Licence: wxWindows license
12#----------------------------------------------------------------------
13
d7ec6564 14"""
d7ec6564
RD
15This script will generate a setup script for InnoSetup and then run it
16to make the installer executable. If all goes right the proper versions
17of Python and wxWindows (including hybrid/final settings) will all be
18calculated based on what wxc.pyd imports and an appropriate installer
19will be created.
20"""
21
22
81744507
RD
23# TODO: Remove the registry entry upon uninstall.
24
1e4a197e 25import sys, os, time
d7ec6564 26
d7ec6564 27KEEP_TEMPS = 0
0815db26 28ISCC = r"%s\InnoSetup2Ex\ISCC.exe %s"
d7ec6564
RD
29
30#----------------------------------------------------------------------
31
32ISS_Template = r'''
33;;------------------------------------------------------------
34
35[Setup]
36AppName = wxPython
faa20af7 37AppVerName = wxPython %(VERSION)s for Python %(PYTHONVER)s
54f07ec4 38OutputBaseFilename = wxPythonWIN32-%(VERSION)s-%(PYVER)s
25379d62 39