/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

[merge] bzr.dev 2255

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',
188
188
                                     version = version_str,
189
189
                                     description = META_INFO['description'],
190
190
                                     author = META_INFO['author'],
191
 
                                     copyright = "(c) Canonical Ltd, 2005-2006",
 
191
                                     copyright = "(c) Canonical Ltd, 2005-2007",
192
192
                                     company_name = "Canonical Ltd.",
193
193
                                     comments = META_INFO['description'],
194
194
                                    )
 
195
 
 
196
    additional_packages =  []
 
197
    if sys.version.startswith('2.4'):
 
198
        # adding elementtree package
 
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.')
 
206
 
195
207
    options_list = {"py2exe": {"packages": BZRLIB['packages'] +
196
 
                                           ['elementtree'],
 
208
                                           additional_packages,
197
209
                               "excludes": ["Tkinter", "medusa"],
198
210
                               "dist_dir": "win32_bzr.exe",
199
211
                              },