/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
0.27.16 by Martin von Gagern
Added distutils setup script and plugin meta data.
1
#!/usr/bin/env python
2
3
# Copyright (C) 2010  Martin von Gagern
4
#
5
# This file is part of bzr-bash-completion
6
#
7
# bzr-bash-completion free software: you can redistribute it and/or
8
# modify it under the terms of the GNU General Public License as
9
# published by the Free Software Foundation, either version 2 of the
10
# License, or (at your option) any later version.
11
#
12
# bzr-bash-completion is distributed in the hope that it will be
13
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
14
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15
# General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
0.27.24 by Martin von Gagern
Use setuptools instead of distutils.
20
from setuptools import setup
0.27.16 by Martin von Gagern
Added distutils setup script and plugin meta data.
21
from meta import *
22
from meta import __version__
23
24
if __name__ == "__main__":
25
26
    readme=file('README.txt').read()
0.27.22 by Martin von Gagern
Improved installation documentation and metadata.
27
    readme=readme[readme.index('\n===') :
28
                  readme.index('\n.. cut long_description here')]
0.27.16 by Martin von Gagern
Added distutils setup script and plugin meta data.
29
0.27.22 by Martin von Gagern
Improved installation documentation and metadata.
30
    # see http://docs.python.org/distutils/setupscript.html#meta-data
31
    # and http://docs.python.org/distutils/apiref.html
32
    # for a list of meta data to be included here.
0.27.16 by Martin von Gagern
Added distutils setup script and plugin meta data.
33
    setup(
34
        name="bzr-bash-completion",
35
        version=__version__,
36
        description="Generate bash command line completion function for bzr",
0.27.22 by Martin von Gagern
Improved installation documentation and metadata.
37
        keywords='bash bazaar bzr complete completion plugin shell vcs',
0.27.16 by Martin von Gagern
Added distutils setup script and plugin meta data.
38
        long_description=readme,
39
        author="Martin von Gagern",
40
        author_email="Martin.vGagern@gmx.net",
41
        license="GNU GPL v2",
42
        url="https://launchpad.net/bzr-bash-completion",
43
        packages=["bzrlib.plugins.bash_completion"],
44
        package_dir={"bzrlib.plugins.bash_completion": "."},
45
        classifiers=[
46
            'Development Status :: 5 - Production/Stable',
47
            'Environment :: Console',
48
            'Environment :: Plugins',
49
            'Intended Audience :: Developers',
50
            'License :: OSI Approved :: GNU General Public License (GPL)',
51
            'Operating System :: OS Independent',
52
            'Programming Language :: Python :: 2',
53
            'Programming Language :: Python',
54
            'Programming Language :: Unix Shell',
55
            'Topic :: Software Development :: Version Control',
56
            'Topic :: System :: Shells',
57
            # see http://pypi.python.org/pypi?:action=list_classifiers for more
58
        ],
59
    )