/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
0.200.128 by Jelmer Vernooij
Merge new dulwich.
1
#!/usr/bin/env python
0.200.50 by Jelmer Vernooij
add setup.py
2
0.358.2 by Jelmer Vernooij
Refresh copyright headers, add my email.
3
# Copyright (C) 2009-2018 Jelmer Vernooij <jelmer@jelmer.uk>
4
5
# This program is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 2 of the License, or
8
# (at your option) any later version.
9
#
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with this program; if not, write to the Free Software
17
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
19
0.358.3 by Jelmer Vernooij
Enable absolute import.
20
from __future__ import absolute_import
0.358.2 by Jelmer Vernooij
Refresh copyright headers, add my email.
21
0.200.587 by Jelmer Vernooij
Put plugin info in separate file.
22
from info import *
0.200.585 by Jelmer Vernooij
Indicate .git directories are supported.
23
0.200.1330 by Jelmer Vernooij
Read long description from README.
24
readme = file('README').read()
25
26
0.200.583 by Jelmer Vernooij
Add plugin api info.
27
if __name__ == '__main__':
28
    from distutils.core import setup
0.200.584 by Jelmer Vernooij
fix use with plugin-info.
29
    version = bzr_plugin_version[:3]
30
    version_string = ".".join([str(x) for x in version])
0.200.583 by Jelmer Vernooij
Add plugin api info.
31
0.200.1405 by Jelmer Vernooij
Add i18n support.
32
    command_classes = {}
33
    try:
0.200.1646 by Jelmer Vernooij
Rename bzrlib to breezy.
34
        from breezy.bzr_distutils import build_mo
0.200.1405 by Jelmer Vernooij
Add i18n support.
35
    except ImportError:
36
        pass
37
    else:
38
        command_classes['build_mo'] = build_mo
39
0.200.583 by Jelmer Vernooij
Add plugin api info.
40
    setup(name='bzr-git',
41
          description='Support for Git branches in Bazaar',
42
          keywords='plugin bzr git bazaar',
43
          version=version_string,
44
          url='http://bazaar-vcs.org/BzrForeignBranches/Git',
45
          license='GPL',
46
          maintainer='Jelmer Vernooij',
47
          maintainer_email='jelmer@samba.org',
0.200.1330 by Jelmer Vernooij
Read long description from README.
48
          long_description=readme,
0.200.1646 by Jelmer Vernooij
Rename bzrlib to breezy.
49
          package_dir={'breezy.plugins.git':'.'},
50
          packages=['breezy.plugins.git',
51
                    'breezy.plugins.git.tests'],
0.200.1523 by Jelmer Vernooij
Install git-remote-bzr.
52
          scripts=['bzr-receive-pack', 'bzr-upload-pack', 'git-remote-bzr'],
0.200.1330 by Jelmer Vernooij
Read long description from README.
53
          classifiers=[
54
              'Topic :: Software Development :: Version Control',
55
              'Environment :: Plugins',
56
              'Development Status :: 4 - Beta',
57
              'License :: OSI Approved :: GNU General Public License (GPL)',
58
              'Natural Language :: English',
59
              'Operating System :: OS Independent',
60
              'Programming Language :: Python',
61
              'Programming Language :: Python :: 2',
0.200.1405 by Jelmer Vernooij
Add i18n support.
62
          ],
63
          cmdclass=command_classes,
0.200.583 by Jelmer Vernooij
Add plugin api info.
64
          )