~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
39 by John Arbash Meinel
Update copyright and version information.
2
# Copyright (C) 2005, 2006, 2007 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
#
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
39 by John Arbash Meinel
Update copyright and version information.
17
"""A plugin for Bazaar for submitting commands to a PQM service."""
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
51 by James Henstridge
change the setup.py so that it can run without a previously installed version of bzr-pqm
22
# Get version number from this copy 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(
26 by James Henstridge
call the package bzr-pqm rather than just pqm
29
    name='bzr-pqm',
51 by James Henstridge
change the setup.py so that it can run without a previously installed version of bzr-pqm
30
    version=version,
26 by James Henstridge
call the package bzr-pqm rather than just pqm
31
    maintainer='John Arbash Meinel',
32
    maintainer_email='john@arbash-meinel.com',
33
    description='bzr plugin to submit an email to a Patch Queue Manager',
34
    license='GNU GPL v2',
50 by James Henstridge
update Launchpad URL in setup.py
35
    url='https://launchpad.net/bzr-pqm',
26 by James Henstridge
call the package bzr-pqm rather than just pqm
36
    packages=['bzrlib.plugins.pqm'],
37
    package_dir={'bzrlib.plugins.pqm': '.'},
25 by James Henstridge
Add distutils setup.py script from Etienne Goyer, from bug #66868
38
)
39