/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

Fix revision_history test when no DeprecationWarning is printed and bzr 2.5
is used.

Older prereleases of bzr 2.5 didn't deprecate Branch.revision_history.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
from info import *
 
4
 
 
5
readme = file('README').read()
 
6
 
 
7
 
 
8
if __name__ == '__main__':
 
9
    from distutils.core import setup
 
10
    version = bzr_plugin_version[:3]
 
11
    version_string = ".".join([str(x) for x in version])
 
12
 
 
13
    command_classes = {}
 
14
    try:
 
15
        from bzrlib.bzr_distutils import build_mo
 
16
    except ImportError:
 
17
        pass
 
18
    else:
 
19
        command_classes['build_mo'] = build_mo
 
20
 
 
21
    setup(name='bzr-git',
 
22
          description='Support for Git branches in Bazaar',
 
23
          keywords='plugin bzr git bazaar',
 
24
          version=version_string,
 
25
          url='http://bazaar-vcs.org/BzrForeignBranches/Git',
 
26
          license='GPL',
 
27
          maintainer='Jelmer Vernooij',
 
28
          maintainer_email='jelmer@samba.org',
 
29
          long_description=readme,
 
30
          package_dir={'bzrlib.plugins.git':'.'},
 
31
          packages=['bzrlib.plugins.git',
 
32
                    'bzrlib.plugins.git.tests'],
 
33
          scripts=['bzr-receive-pack', 'bzr-upload-pack'],
 
34
          classifiers=[
 
35
              'Topic :: Software Development :: Version Control',
 
36
              'Environment :: Plugins',
 
37
              'Development Status :: 4 - Beta',
 
38
              'License :: OSI Approved :: GNU General Public License (GPL)',
 
39
              'Natural Language :: English',
 
40
              'Operating System :: OS Independent',
 
41
              'Programming Language :: Python',
 
42
              'Programming Language :: Python :: 2',
 
43
          ],
 
44
          cmdclass=command_classes,
 
45
          )