~barry/bzr-builddeb/609186-urls

24.1.1 by James Westby
Add the file to build the debian package
1
#!/usr/bin/env python2.4
18.1.43 by James Westby
Correct (C) statements. Add copyright to setup.py
2
#
3
#    setup.py -- Install the bzr-builddeb plugin
4
#    Copyright (C) 2006 James Westby <jw+debian@jameswestby.net>
5
#
6
#    This file is part of bzr-builddeb.
7
#
75.1.2 by Jelmer Vernooij
Fix some typos
8
#    bzr-builddeb is free software; you can redistribute it and/or modify
18.1.43 by James Westby
Correct (C) statements. Add copyright to setup.py
9
#    it under the terms of the GNU General Public License as published by
10
#    the Free Software Foundation; either version 2 of the License, or
11
#    (at your option) any later version.
12
#
13
#    bzr-builddeb is distributed in the hope that it will be useful,
14
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
#    GNU General Public License for more details.
17
#
18
#    You should have received a copy of the GNU General Public License
19
#    along with bzr-builddeb; if not, write to the Free Software
20
#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
21
#
24.1.1 by James Westby
Add the file to build the debian package
22
354.1.2 by Jelmer Vernooij
Move plugin info details to a separate file.
23
from info import *
354.1.1 by Jelmer Vernooij
Add plugin information as parsed by 'bzr plugin-info' and documented in the
24
25
if __name__ == '__main__':
26
27
    from distutils.core import setup
28
29
    version_string = ".".join([str(v) for v in bzr_plugin_version[:3]])
30
31
    setup(name="bzr-builddeb",
32
          version=version_string,
33
          description="Build a .deb from a bzr branch",
34
          author="James Westby",
35
          author_email="jw+debian@jameswestby.net",
36
          license = "GNU GPL v2",
37
          url="http://jameswestby.net/bzr/bzr-builddeb/",
38
          packages=['bzrlib.plugins.builddeb',
39
                    'bzrlib.plugins.builddeb.tests',
40
                    'bzrlib.plugins.builddeb.tests.blackbox'],
41
          package_dir={'bzrlib.plugins.builddeb': '.'},
42
          scripts=['bzr-buildpackage'],
43
          data_files=[('share/man/man1', ['bzr-buildpackage.1'])])