You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
672 B
26 lines
672 B
4 years ago
|
# Copyright (c) Jupyter Development Team.
|
||
|
# Distributed under the terms of the Modified BSD License.
|
||
|
|
||
|
from collections import namedtuple
|
||
|
|
||
|
VersionInfo = namedtuple('VersionInfo', [
|
||
|
'major',
|
||
|
'minor',
|
||
|
'micro',
|
||
|
'releaselevel',
|
||
|
'serial'
|
||
|
])
|
||
|
|
||
|
# DO NOT EDIT THIS DIRECTLY! It is managed by bumpversion
|
||
|
version_info = VersionInfo(2, 2, 8, 'final', 0)
|
||
|
|
||
|
_specifier_ = {'alpha': 'a', 'beta': 'b', 'candidate': 'rc', 'final': ''}
|
||
|
|
||
|
__version__ = '{}.{}.{}{}'.format(
|
||
|
version_info.major,
|
||
|
version_info.minor,
|
||
|
version_info.micro,
|
||
|
(''
|
||
|
if version_info.releaselevel == 'final'
|
||
|
else _specifier_[version_info.releaselevel] + str(version_info.serial)))
|