_version.py 573 Bytes
Newer Older
Stelios Karozis's avatar
Stelios Karozis committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
version_info = (5, 2, 1)
__version__ = '.'.join(map(str, version_info[:3]))

# pep440 is annoying, beta/alpha/rc should _not_ have dots or pip/setuptools
# confuses which one between the wheel and sdist is the most recent.
if len(version_info) == 4:
    extra = version_info[3]
    if extra.startswith(('a','b','rc')):
        __version__ = __version__+extra
    else:
        __version__ = __version__+'.'+extra
if len(version_info) > 4:
    raise NotImplementedError

kernel_protocol_version_info = (5, 3)
kernel_protocol_version = '%s.%s' % kernel_protocol_version_info