Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (12 sloc) 0.408 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
VERSION = (0, 9, 0, "a", 2) # following PEP 386
DEV_N = 1022


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.