~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/__init__.py

MergeĀ lp:bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    import bzrlib.lazy_regex
32
32
    bzrlib.lazy_regex.install_lazy_compile()
33
33
 
34
 
from bzrlib.osutils import get_user_encoding
35
 
 
36
34
 
37
35
IGNORE_FILENAME = ".bzrignore"
38
36
 
39
37
 
40
 
# XXX: Deprecated as of bzr-1.17 use osutils.get_user_encoding() directly
41
 
user_encoding = get_user_encoding()
42
 
 
43
 
 
44
38
__copyright__ = "Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd."
45
39
 
46
40
# same format as sys.version_info: "A tuple containing the five components of
50
44
# Python version 2.0 is (2, 0, 0, 'final', 0)."  Additionally we use a
51
45
# releaselevel of 'dev' for unreleased under-development code.
52
46
 
53
 
version_info = (2, 0, 0, 'candidate', 2)
 
47
version_info = (2, 1, 0, 'dev', 0)
54
48
 
55
49
# API compatibility version: bzrlib is currently API compatible with 1.15.
56
 
api_minimum_version = (1, 17, 0)
 
50
api_minimum_version = (2, 1, 0)
 
51
 
57
52
 
58
53
def _format_version_tuple(version_info):
59
54
    """Turn a version number 2, 3 or 5-tuple into a short string.