~ubuntu-branches/ubuntu/raring/wxwidgets2.8/raring

« back to all changes in this revision

Viewing changes to wxPython/distrib/make_installer.py

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-01-07 13:59:25 UTC
  • mfrom: (1.1.9) (5.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20120107135925-2601miy9ullcon9j
Tags: 2.8.12.1-6ubuntu1
* Resync from Debian, changes that were kept:
  - debian/rules: re-enable mediactrl. This allows libwx_gtk2u_media-2.8 to be
    built, as this is required by some applications (LP: #632984)
  - debian/control: Build-dep on libxt-dev for mediactrl.
  - Patches
    + fix-bashism-in-example
* Add conflict on python-wxgtk2.8 (<< 2.8.12.1-6ubuntu1~) to python-wxversion
  to guarantee upgrade ordering when moving from pycentral to dh_python2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
# Author:      Robin Dunn
7
7
#
8
8
# Created:     30-April-2001
9
 
# RCS-ID:      $Id: make_installer.py 64170 2010-04-29 22:55:02Z RD $
 
9
# RCS-ID:      $Id: make_installer.py 67484 2011-04-13 21:05:17Z RD $
10
10
# Copyright:   (c) 2003 by Total Control Software
11
11
# Licence:     wxWindows license
12
12
#----------------------------------------------------------------------
112
112
Source: "wx\lib\*.tlb";                         DestDir: "{app}\%(PKGDIR)s\wx\lib"; Components: core
113
113
Source: "wx\lib\agw\*.py";                      DestDir: "{app}\%(PKGDIR)s\wx\lib\agw"; Components: core
114
114
Source: "wx\lib\agw\aui\*.py";                  DestDir: "{app}\%(PKGDIR)s\wx\lib\agw\aui"; Components: core
 
115
Source: "wx\lib\agw\persist\*.py";              DestDir: "{app}\%(PKGDIR)s\wx\lib\agw\persist"; Components: core
115
116
Source: "wx\lib\agw\ribbon\*.py";               DestDir: "{app}\%(PKGDIR)s\wx\lib\agw\ribbon"; Components: core
116
117
Source: "wx\lib\agw\*.png";                     DestDir: "{app}\%(PKGDIR)s\wx\lib\agw"; Components: core
117
118
Source: "wx\lib\analogclock\*.py";              DestDir: "{app}\%(PKGDIR)s\wx\lib\analogclock"; Components: core
173
174
Source: "wx\tools\Editra\src\extern\*.py";                   DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern"; Components: core
174
175
Source: "wx\tools\Editra\src\extern\README";                 DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern"; Components: core
175
176
Source: "wx\tools\Editra\src\extern\aui\*.py";               DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\aui"; Components: core
 
177
Source: "wx\tools\Editra\src\extern\dexml\*.py";               DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\dexml"; Components: core
 
178
Source: "wx\tools\Editra\src\extern\dexml\*.txt";               DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\dexml"; Components: core
176
179
Source: "wx\tools\Editra\src\extern\pygments\*.py";          DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments"; Components: core
177
180
Source: "wx\tools\Editra\src\extern\pygments\filters\*.py";    DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\filters"; Components: core
178
181
Source: "wx\tools\Editra\src\extern\pygments\formatters\*.py"; DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\formatters"; Components: core
179
182
Source: "wx\tools\Editra\src\extern\pygments\lexers\*.py";     DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\lexers"; Components: core
 
183
Source: "wx\tools\Editra\src\extern\pygments\styles\*.py";     DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\styles"; Components: core
180
184
Source: "wx\tools\Editra\src\syntax\*.py";                   DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\syntax"; Components: core
181
185
Source: "wx\tools\Editra\src\syntax\README";                 DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\src\syntax"; Components: core
182
186
Source: "wx\tools\Editra\styles\*.ess";                      DestDir: "{app}\%(PKGDIR)s\wx\tools\Editra\styles"; Components: core
257
261
Type: files; Name: "{app}\%(PKGDIR)s\wx\lib\agw\*.pyo";
258
262
Type: files; Name: "{app}\%(PKGDIR)s\wx\lib\agw\aui\*.pyc";
259
263
Type: files; Name: "{app}\%(PKGDIR)s\wx\lib\agw\aui\*.pyo";
 
264
Type: files; Name: "{app}\%(PKGDIR)s\wx\lib\agw\persist\*.pyc";
 
265
Type: files; Name: "{app}\%(PKGDIR)s\wx\lib\agw\persist\*.pyo";
260
266
Type: files; Name: "{app}\%(PKGDIR)s\wx\lib\agw\ribbon\*.pyc";
261
267
Type: files; Name: "{app}\%(PKGDIR)s\wx\lib\agw\ribbon\*.pyo";
262
268
Type: files; Name: "{app}\%(PKGDIR)s\wx\lib\analogclock\*.pyc";
313
319
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\syntax\*.pyo";
314
320
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\*.pyc";
315
321
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\*.pyo";
 
322
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\aui\*.pyc";
 
323
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\aui\*.pyo";
 
324
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\dexml\*.pyc";
 
325
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\dexml\*.pyo";
316
326
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\*.pyc";      
317
327
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\*.pyo";      
318
328
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\filters\*.pyc"; 
321
331
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\formatters\*.pyo";
322
332
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\lexers\*.pyc";    
323
333
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\lexers\*.pyo";    
 
334
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\styles\*.pyc";    
 
335
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\extern\pygments\styles\*.pyo";    
324
336
 
325
337
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\autocomp\*.pyc";
326
338
Type: files; Name: "{app}\%(PKGDIR)s\wx\tools\Editra\src\autocomp\*.pyo";
367
379
    (* -------------------------------------------------------------- *)
368
380
    (* Figure out what to use as a default installation dir           *)
369
381
 
370
 
    if not RegQueryStringValue(HKEY_LOCAL_MACHINE,
 
382
    if not RegQueryStringValue(HKEY_CURRENT_USER,
371
383
                               'Software\Python\PythonCore\%(PYTHONVER)s\InstallPath',
372
384
                               '', PythonDir) then begin
373
385
 
374
 
        if not RegQueryStringValue(HKEY_CURRENT_USER,
 
386
        if not RegQueryStringValue(HKEY_LOCAL_MACHINE,
375
387
                                   'Software\Python\PythonCore\%(PYTHONVER)s\InstallPath',
376
388
                                   '', PythonDir) then begin
377
389
 
378
 
            if not RegQueryStringValue(HKEY_LOCAL_MACHINE,
379
 
                                        'Software\Wow6432Node\Python\PythonCore\%(PYTHONVER)s\InstallPath',
 
390
            if not RegQueryStringValue(HKEY_CURRENT_USER,
 
391
                                       'Software\Wow6432Node\Python\PythonCore\%(PYTHONVER)s\InstallPath',
380
392
                                       '', PythonDir) then begin
381
393
 
382
 
                if not RegQueryStringValue(HKEY_CURRENT_USER,
 
394
                if not RegQueryStringValue(HKEY_LOCAL_MACHINE,
383
395
                                           'Software\Wow6432Node\Python\PythonCore\%(PYTHONVER)s\InstallPath',
384
396
                                           '', PythonDir) then begin
385
397