version_base = (4, 0, 0)
version_suffix = 'rc5'

if version_suffix is None:
    __version_info__ = version_base
else:
    __version_info__ = version_base + (version_suffix,)

__version__ = '{}.{}'.format(*version_base)
if version_base[2] != 0:
    __version__ += '.{}'.format(version_base[3])

if version_suffix is not None:
    __version__ += '-{}'.format(version_suffix)

version_base = (4, 0, 0)
version_suffix = 'rc6'

if version_suffix is None:
    __version_info__ = version_base
else:
    __version_info__ = version_base + (version_suffix,)

__version__ = '{}.{}'.format(*version_base)
if version_base[2] != 0:
    __version__ += '.{}'.format(version_base[3])

if version_suffix is not None:
    __version__ += '-{}'.format(version_suffix)

Bump version number.