~ursinha/lp-qa-tools/bzr-tarmacland

25 by James Henstridge
Add distutils setup.py script from Etienne Goyer, from bug #66868
1
#!/usr/bin/env python2.4
57 by James Henstridge
* Bump version number to 1.3.0 final.
2
# Copyright (C) 2005-2008 Canonical Ltd
25 by James Henstridge
Add distutils setup.py script from Etienne Goyer, from bug #66868
3
#
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 2 of the License, or
7
# (at your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
# GNU General Public License for more details.
13
#
57 by James Henstridge
* Bump version number to 1.3.0 final.
14
# You should have received a copy of the GNU General Public License along
15
# with this program; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
80 by Ursula Junque (Ursinha)
Changing setup.py to tarmac-land
17
"""A plugin for Bazaar for changing Merge Proposals to submit to Tarmac."""
25 by James Henstridge
Add distutils setup.py script from Etienne Goyer, from bug #66868
18
19
from distutils.core import setup
51 by James Henstridge
change the setup.py so that it can run without a previously installed version of bzr-pqm
20
import os
25 by James Henstridge
Add distutils setup.py script from Etienne Goyer, from bug #66868
21
81 by Ursula Junque (Ursinha)
removing cruft
22
# Get version number from this copy of bzr-tarmacland:
51 by James Henstridge
change the setup.py so that it can run without a previously installed version of bzr-pqm
23
globals = {}
24
execfile(os.path.join(os.path.dirname(__file__), '__init__.py'), globals)
25
version = globals['__version__']
26
del globals
39 by John Arbash Meinel
Update copyright and version information.
27
25 by James Henstridge
Add distutils setup.py script from Etienne Goyer, from bug #66868
28
setup(
80 by Ursula Junque (Ursinha)
Changing setup.py to tarmac-land
29
    name='tarmac-land',
51 by James Henstridge
change the setup.py so that it can run without a previously installed version of bzr-pqm
30
    version=version,
80 by Ursula Junque (Ursinha)
Changing setup.py to tarmac-land
31
    maintainer='Ursula Junque',
32
    maintainer_email='ursinha@canonical.com',
33
    description='bzr plugin to change merge proposals for Tarmac processing, entirely based on bzr-pqm.',
26 by James Henstridge
call the package bzr-pqm rather than just pqm
34
    license='GNU GPL v2',
80 by Ursula Junque (Ursinha)
Changing setup.py to tarmac-land
35
    packages=['bzrlib.plugins.tarmac_land',
36
        'bzrlib.plugins.tarmac_land.tests'],
37
    package_dir={'bzrlib.plugins.tarmac_land': '.'},
25 by James Henstridge
Add distutils setup.py script from Etienne Goyer, from bug #66868
38
)
39