Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 405 Bytes
VERSION = (0, 9, 0, "b", 1) # following PEP 386
DEV_N = 4
def get_version():
version = "%s.%s" % (VERSION[0], VERSION[1])
if VERSION[2]:
version = "%s.%s" % (version, VERSION[2])
if VERSION[3] != "f":
version = "%s%s%s" % (version, VERSION[3], VERSION[4])
if DEV_N:
version = "%s.dev%s" % (version, DEV_N)
return version
__version__ = get_version()
Something went wrong with that request. Please try again.