/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 05:10:44 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7294.
  • Revision ID: jelmer@jelmer.uk-20190304051044-vph4s8p9qvpy2qe9
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
# META INFORMATION FOR SETUP
33
33
# see http://docs.python.org/dist/meta-data.html
34
34
META_INFO = {
35
 
    'name':         'breezy',
36
 
    'version':      breezy.__version__,
37
 
    'maintainer':   'Breezy Developers',
38
 
    'maintainer_email':   'team@breezy-vcs.org',
39
 
    'url':          'https://www.breezy-vcs.org/',
40
 
    'description':  'Friendly distributed version control system',
41
 
    'license':      'GNU GPL v2',
 
35
    'name': 'breezy',
 
36
    'version': breezy.__version__,
 
37
    'maintainer': 'Breezy Developers',
 
38
    'maintainer_email': 'team@breezy-vcs.org',
 
39
    'url': 'https://www.breezy-vcs.org/',
 
40
    'description': 'Friendly distributed version control system',
 
41
    'license': 'GNU GPL v2',
42
42
    'download_url': 'https://launchpad.net/brz/+download',
43
43
    'long_description': get_long_description(),
44
44
    'classifiers': [
60
60
        # Technically, Breezy works without these two dependencies too. But there's
61
61
        # no way to enable them by default and let users opt out.
62
62
        'fastimport>=0.9.8',
63
 
        'dulwich>=0.19.1',
 
63
        'dulwich>=0.19.11',
64
64
        ],
65
65
    'extras_require': {
66
66
        'fastimport': [],
67
67
        'git': [],
 
68
        'launchpad': ['launchpadlib>=1.6.3'],
68
69
        },
69
70
    'tests_require': [
70
71
        'testtools',
382
383
    # tbzrcache executables - a "console" version for debugging and a
383
384
    # GUI version that is generally used.
384
385
    tbzrcache = dict(
385
 
        script = os.path.join(tbzr_root, "scripts", "tbzrcache.py"),
386
 
        icon_resources = icon_resources,
387
 
        other_resources = other_resources,
 
386
        script=os.path.join(tbzr_root, "scripts", "tbzrcache.py"),
 
387
        icon_resources=icon_resources,
 
388
        other_resources=other_resources,
388
389
    )
389
390
    console_targets.append(tbzrcache)
390
391
 
395
396
 
396
397
    # ditto for the tbzrcommand tool
397
398
    tbzrcommand = dict(
398
 
        script = os.path.join(tbzr_root, "scripts", "tbzrcommand.py"),
399
 
        icon_resources = icon_resources,
400
 
        other_resources = other_resources,
 
399
        script=os.path.join(tbzr_root, "scripts", "tbzrcommand.py"),
 
400
        icon_resources=icon_resources,
 
401
        other_resources=other_resources,
401
402
    )
402
403
    console_targets.append(tbzrcommand)
403
404
    tbzrcommandw = tbzrcommand.copy()
561
562
            self.outfiles.extend([f + 'o' for f in compile_names])
562
563
    # end of class install_data_with_bytecompile
563
564
 
564
 
    target = py2exe.build_exe.Target(script = "brz",
565
 
                                     dest_base = "brz",
566
 
                                     icon_resources = [(0, 'brz.ico')],
567
 
                                     name = META_INFO['name'],
568
 
                                     version = version_str,
569
 
                                     description = META_INFO['description'],
570
 
                                     author = META_INFO['author'],
571
 
                                     copyright = "(c) Canonical Ltd, 2005-2010",
572
 
                                     company_name = "Canonical Ltd.",
573
 
                                     comments = META_INFO['description'],
574
 
                                     )
 
565
    target = py2exe.build_exe.Target(
 
566
        script="brz",
 
567
        dest_base="brz",
 
568
        icon_resources=[(0, 'brz.ico')],
 
569
        name=META_INFO['name'],
 
570
        version=version_str,
 
571
        description=META_INFO['description'],
 
572
        author=META_INFO['author'],
 
573
        copyright="(c) Canonical Ltd, 2005-2010",
 
574
        company_name="Canonical Ltd.",
 
575
        comments=META_INFO['description'],
 
576
    )
575
577
    gui_target = copy.copy(target)
576
578
    gui_target.dest_base = "bzrw"
577
579
 
743
745
else:
744
746
    # ad-hoc for easy_install
745
747
    DATA_FILES = []
746
 
    if not 'bdist_egg' in sys.argv:
 
748
    if 'bdist_egg' not in sys.argv:
747
749
        # generate and install brz.1 only with plain install, not the
748
750
        # easy_install one
749
751
        DATA_FILES = [('man/man1', ['brz.1', 'breezy/git/git-remote-bzr.1'])]