~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Wouter van Heyst
  • Date: 2007-01-18 18:37:21 UTC
  • mto: (2234.3.3 0.14)
  • mto: This revision was merged to the branch mainline in revision 2243.
  • Revision ID: larstiq@larstiq.dyndns.org-20070118183721-78uzxifyyyoqxja9
(Alexander Belchenko) add windows installer check for python2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
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,