1
VERSION = (1, 2, 5, 'final', 0)
4
version = '%s.%s' % (VERSION[0], VERSION[1])
6
version = '%s.%s' % (version, VERSION[2])
7
if VERSION[3:] == ('alpha', 0):
8
version = '%s pre-alpha' % version
10
if VERSION[3] != 'final':
11
version = '%s %s %s' % (version, VERSION[3], VERSION[4])
12
from google.appengine._internal.django.utils.version import get_svn_revision
13
svn_rev = get_svn_revision()
14
if svn_rev != u'SVN-unknown':
15
version = "%s %s" % (version, svn_rev)