~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/__init__.py

  • Committer: Robert Collins
  • Date: 2007-06-26 08:27:24 UTC
  • mto: This revision was merged to the branch mainline in revision 2554.
  • Revision ID: robertc@robertcollins.net-20070626082724-q95taws12ajox2io
Add helpers to get api versions from objects.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
version_info = (0, 18, 0, 'dev', 0)
39
39
 
 
40
# API compatibility version: bzrlib is currently API compatible with 0.18.
 
41
api_minimum_version = (0, 18, 0)
 
42
 
40
43
if version_info[3] == 'final':
41
44
    version_string = '%d.%d.%d' % version_info[:3]
42
45
else: