/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Jelmer Vernooij
  • Date: 2010-08-13 20:50:53 UTC
  • Revision ID: jelmer@samba.org-20100813205053-70wlu17t87omy0ua
StartĀ onĀ 0.100.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
    )
59
59
from bzrlib.commands import plugin_cmds
60
60
 
61
 
 
62
 
version_info = (0, 99, 0, 'final', 0)
 
61
from info import (
 
62
    bzr_plugin_version as version_info,
 
63
    bzr_compatible_versions,
 
64
    )
63
65
 
64
66
if version_info[3] == 'final':
65
67
    version_string = '%d.%d.%d' % version_info[:3]
67
69
    version_string = '%d.%d.%d%s%d' % version_info
68
70
__version__ = version_string
69
71
 
70
 
COMPATIBLE_BZR_VERSIONS = [(1, 6, 0), (1, 7, 0), (1, 8, 0), (1, 9, 0),
71
 
                           (1, 10, 0), (1, 11, 0), (1, 12, 0), (1, 13, 0),
72
 
                           (1, 15, 0),
73
 
                           (1, 17, 0),
74
 
                           (2, 1, 0),
75
 
                           (2, 2, 0),
76
 
                           ]
77
 
 
78
 
bzrlib.api.require_any_api(bzrlib, COMPATIBLE_BZR_VERSIONS)
 
72
bzrlib.api.require_any_api(bzrlib, bzr_compatible_versions)
79
73
 
80
74
if __name__ != 'bzrlib.plugins.gtk':
81
75
    from bzrlib.trace import warning