~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Mark Hammond
  • Date: 2008-08-14 01:41:30 UTC
  • mto: (3606.5.3 1.6)
  • mto: This revision was merged to the branch mainline in revision 3626.
  • Revision ID: mhammond@skippinet.com.au-20080814014130-ohoxsrqy94jldajv
Address John's review comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
    print 'The python versions will be used instead.'
243
243
    print
244
244
 
 
245
 
245
246
def get_tbzr_py2exe_info(includes, excludes, packages, console_targets,
246
247
                         gui_targets):
247
248
    packages.append('tbzrcommands')
316
317
                  dest_base="tbzr_tracer")
317
318
    console_targets.append(tracer)
318
319
 
 
320
 
319
321
def get_qbzr_py2exe_info(includes, excludes, packages):
320
322
    # PyQt4 itself still escapes the plugin detection code for some reason...
321
323
    packages.append('PyQt4')
506
508
        get_qbzr_py2exe_info(includes, excludes, packages)
507
509
 
508
510
    if "TBZR" in os.environ:
509
 
        # Eg: via SVN: http://tortoisesvn.tigris.org/svn/tortoisesvn/TortoiseOverlays/version-1.0.4/bin/TortoiseOverlays-1.0.4.11886-win32.msi
510
 
        if not os.path.isfile(os.environ.get('TOVMSI_WIN32', '<nofile>')):
511
 
            raise RuntimeError, "Please set TOVMSI_WIN32 to the location of " \
512
 
                                "the TortoiseOverlays .msi installerfile"
 
511
        # TORTOISE_OVERLAYS_MSI_WIN32 must be set to the location of the
 
512
        # TortoiseOverlays MSI installer file. It is in the TSVN svn repo and
 
513
        # can be downloaded from (username=guest, blank password):
 
514
        # http://tortoisesvn.tigris.org/svn/tortoisesvn/TortoiseOverlays/version-1.0.4/bin/TortoiseOverlays-1.0.4.11886-win32.msi
 
515
        if not os.path.isfile(os.environ.get('TORTOISE_OVERLAYS_MSI_WIN32',
 
516
                                             '<nofile>')):
 
517
            raise RuntimeError("Please set TORTOISE_OVERLAYS_MSI_WIN32 to the"
 
518
                               " location of the Win32 TortoiseOverlays .msi"
 
519
                               " installer file")
513
520
        get_tbzr_py2exe_info(includes, excludes, packages, console_targets,
514
521
                             gui_targets)
515
522
    else: