~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Gary van der Merwe
  • Date: 2010-07-25 21:21:30 UTC
  • mto: (5050.3.19 2.2) (5340.4.7 bzrw)
  • mto: This revision was merged to the branch mainline in revision 5371.
  • Revision ID: garyvdm@gmail.com-20100725212130-6gubvarv2gvtmsvm
Add bzrw as gui_target.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
import os
10
10
import os.path
11
11
import sys
 
12
import copy
12
13
 
13
14
if sys.version_info < (2, 4):
14
15
    sys.stderr.write("[ERROR] Not a supported Python version. Need 2.4+\n")
557
558
                                     company_name = "Canonical Ltd.",
558
559
                                     comments = META_INFO['description'],
559
560
                                    )
 
561
    gui_target = copy.copy(target)
 
562
    gui_target.dest_base = "bzrw"
560
563
 
561
564
    packages = BZRLIB['packages']
562
565
    packages.remove('bzrlib')
647
650
    console_targets = [target,
648
651
                       'tools/win32/bzr_postinstall.py',
649
652
                       ]
650
 
    gui_targets = []
 
653
    gui_targets = [gui_target]
651
654
    data_files = topics_files + plugins_files
652
655
 
653
656
    if 'qbzr' in plugins: