bzr branch
http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
|
5147.5.4
by Martin von Gagern
Assign copyright to Canonical Ltd. |
1 |
# Copyright (C) 2010 Canonical Ltd
|
|
0.27.16
by Martin von Gagern
Added distutils setup script and plugin meta data. |
2 |
#
|
|
5147.5.5
by Martin von Gagern
Adjust copyright notice comments for bash_completion. |
3 |
# This program is free software; you can redistribute it and/or modify
|
4 |
# it under the terms of the GNU General Public License as published by
|
|
5 |
# the Free Software Foundation; either version 2 of the License, or
|
|
6 |
# (at your option) any later version.
|
|
7 |
#
|
|
8 |
# This program is distributed in the hope that it will be useful,
|
|
9 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11 |
# GNU General Public License for more details.
|
|
|
0.27.16
by Martin von Gagern
Added distutils setup script and plugin meta data. |
12 |
#
|
13 |
# You should have received a copy of the GNU General Public License
|
|
|
5147.5.5
by Martin von Gagern
Adjust copyright notice comments for bash_completion. |
14 |
# along with this program; if not, write to the Free Software
|
15 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
0.27.16
by Martin von Gagern
Added distutils setup script and plugin meta data. |
16 |
|
17 |
# http://doc.bazaar.canonical.com/developers/plugin-api.html#metadata-protocol
|
|
18 |
# describes these variables, which have to be imported into setup.py.
|
|
19 |
bzr_plugin_name = 'bash_completion' |
|
20 |
bzr_commands = [ 'bash-completion' ] |
|
|
0.27.22
by Martin von Gagern
Improved installation documentation and metadata. |
21 |
|
22 |
# Have a look at bzrlib._format_version_tuple for info about version 5-tuples,
|
|
23 |
# and at http://packages.python.org/distribute/setuptools.html#specifying-your-project-s-version
|
|
24 |
# for information about how python versions do compare with setuptools
|
|
|
0.27.35
by Martin von Gagern
Ongoing development after 1.1.0 release |
25 |
bzr_plugin_version = (1, 1, 1, 'dev', 0) |
|
0.27.16
by Martin von Gagern
Added distutils setup script and plugin meta data. |
26 |
|
27 |
# http://doc.bazaar.canonical.com/developers/plugin-api.html#plugin-version
|
|
28 |
# describes another version tuple:
|
|
29 |
version_info = bzr_plugin_version |
|
30 |
||
31 |
# And we also want a string representation, matching the output generated by
|
|
32 |
# bzrlib._format_version_tuple, but avoiding its sanity checks.
|
|
33 |
__version__ = '.'.join([str(x) for x in version_info[:3]]) |
|
34 |
if version_info[3] == 'final': |
|
35 |
__version__ = "%d.%d.%d" % version_info[:3] |
|
36 |
elif version_info[4] == 0: |
|
37 |
__version__ = "%d.%d.%d%s" % version_info[:4] |
|
38 |
else: |
|
39 |
__version__ = "%d.%d.%d%s%d" % version_info |