]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/make_installer_inno4.py
Make it possible to tell wxXmlResource which domain to pull
[wxWidgets.git] / wxPython / distrib / make_installer_inno4.py
CommitLineData
f58a6c81
KO
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
14"""
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 _core_.pyd imports and an appropriate installer
19will be created.
20"""
21
22
23import sys, os, time
24
25KEEP_TEMPS = 1
02b800ce
RD
26# default InnoSetup installer location
27ISCC = r"C:\progra~1\innose~1\ISCC.exe %s"
f58a6c81 28
02b800ce
RD
29if os.environ.has_key("INNO4"):
30 ISCC = os.environ["INNO4"]
f58a6c81
KO
31
32
33#----------------------------------------------------------------------
34
35ISS_Template = r'''
36
37[Setup]
38AppName = wxPython%(SHORTVER)s-%(CHARTYPE)s-%(PYVER)s
39AppVerName = wxPython %(VERSION)s (%(CHARTYPE)s) for Python %(PYTHONVER)s
40OutputBaseFilename = wxPython%(SHORTVER)s-win32-%(CHARTYPE)s-%(VERSION)s-%(PYVER)s
41