~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
23
from distutils.core import setup
24
25
setup(name="bzr-builddeb",
267 by James Westby
Start the 2.1 branch.
26
      version="2.1",
24.1.1 by James Westby
Add the file to build the debian package
27
      description="Build a .deb from a bzr branch",
28
      author="James Westby",
29
      author_email="jw+debian@jameswestby.net",
30
      license = "GNU GPL v2",
31
      url="http://jameswestby.net/bzr/bzr-builddeb/",
222 by James Westby
Install the tests as well.
32
      packages=['bzrlib.plugins.builddeb',
33
                'bzrlib.plugins.builddeb.tests',
34
                'bzrlib.plugins.builddeb.tests.blackbox'],
96 by James Westby
* Install the plugin in .../plugins/builddeb instead of
35
      package_dir={'bzrlib.plugins.builddeb': '.'},
81 by James Westby
* Actually install the manpage.
36
      scripts=['bzr-buildpackage'],
37
      data_files=[('share/man/man1', ['bzr-buildpackage.1'])])