~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Alexander Belchenko
  • Date: 2007-01-24 19:42:26 UTC
  • mfrom: (2234.3.5 0.14)
  • mto: This revision was merged to the branch mainline in revision 2243.
  • Revision ID: bialix@ukr.net-20070124194226-rl1rlatr3jc5cvhh
merge latest fixes from bzr.0.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
META_INFO = {'name':         'bzr',
18
18
             'version':      bzrlib.__version__,
19
19
             'author':       'Canonical Ltd',
20
 
             'author_email': 'bazaar-ng@lists.ubuntu.com',
 
20
             'author_email': 'bazaar@lists.canonical.com',
21
21
             'url':          'http://www.bazaar-vcs.org/',
22
22
             'description':  'Friendly distributed version control system',
23
23
             'license':      'GNU GPL v2',
197
197
    if sys.version.startswith('2.4'):
198
198
        # adding elementtree package
199
199
        additional_packages.append('elementtree')
 
200
    elif sys.version.startswith('2.5'):
 
201
        additional_packages.append('xml.etree')
 
202
    else:
 
203
        import warnings
 
204
        warnings.warn('Unknown Python version.\n'
 
205
                      'Please check setup.py script for compatibility.')
200
206
 
201
207
    options_list = {"py2exe": {"packages": BZRLIB['packages'] +
202
208
                                           additional_packages,