File: setup.py

package info (click to toggle)
bzr-rewrite 0.6.3%2Bbzr256-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 268 kB
  • sloc: python: 2,060; makefile: 58; sh: 1
file content (34 lines) | stat: -rwxr-xr-x 1,036 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env python

from info import *

command_classes = {}
try:
    from bzrlib.bzr_distutils import build_mo
except ImportError:
    pass
else:
    command_classes['build_mo'] = build_mo


if __name__ == '__main__':
    from distutils.core import setup

    version_string = ".".join([str(v) for v in bzr_plugin_version[:3]])

    setup(name='bzr-rewrite',
          description='Rewrite plugin for Bazaar',
          keywords='plugin bzr rewrite rebase',
          version=version_string,
          url='http://bazaar-vcs.org/Rebase',
          download_url='http://samba.org/~jelmer/bzr/bzr-rewrite-%s.tar.gz' % version_string,
          license='GPLv3 or later',
          author='Jelmer Vernooij',
          author_email='jelmer@samba.org',
          long_description="""
          Hooks into Bazaar and provides commands for rebasing.
          """,
          package_dir={'bzrlib.plugins.rewrite':'.'},
          packages=['bzrlib.plugins.rewrite', 'bzrlib.plugins.rewrite.tests'],
          cmdclass=command_classes,
    )