/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

Support user.signingkey configuration variable in .git/config.

Merged from https://code.launchpad.net/~jelmer/brz/local-git-key/+merge/381000

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
import copy
13
13
import glob
14
14
 
15
 
if sys.version_info < (3, 5):
16
 
    sys.stderr.write("[ERROR] Not a supported Python version. Need 3.5+\n")
 
15
if sys.version_info < (2, 7):
 
16
    sys.stderr.write("[ERROR] Not a supported Python version. Need 2.7+\n")
17
17
    sys.exit(1)
18
18
 
19
19
 
64
64
        ],
65
65
    'install_requires': [
66
66
        'configobj',
 
67
        'six>=1.9.0',
67
68
        'patiencediff',
68
69
        # Technically, Breezy works without these two dependencies too. But there's
69
70
        # no way to enable them by default and let users opt out.
594
595
        includes.append(module)
595
596
 
596
597
    additional_packages = set()
 
598
    if sys.version.startswith('2.7'):
 
599
        additional_packages.add('xml.etree')
 
600
    else:
 
601
        import warnings
 
602
        warnings.warn('Unknown Python version.\n'
 
603
                      'Please check setup.py script for compatibility.')
597
604
 
598
605
    # Although we currently can't enforce it, we consider it an error for
599
606
    # py2exe to report any files are "missing".  Such modules we know aren't