This commit is contained in:
Peter Williams 2019-09-20 12:48:41 -04:00
Родитель 19800a285b
Коммит 50e5373ce3
2 изменённых файлов: 9 добавлений и 5 удалений

Просмотреть файл

@ -62,7 +62,7 @@ copyright = '2017, ' + author
# built documents.
#
# The short X.Y version.
version = '0.7.0.dev0'
version = '0.7.0'
# The full version, including alpha/beta/rc tags.
release = version

Просмотреть файл

@ -1,6 +1,10 @@
version_info = (0, 7, 0, 'dev', 0)
version_info = (0, 7, 0, 'final', 0)
_specifier_ = {'alpha': 'a', 'beta': 'b', 'candidate': 'rc', 'final': '', 'dev': 'dev'}
_specifier_ = {'alpha': '.a', 'beta': '.b', 'candidate': '.rc', 'final': '', 'dev': '.dev'}
__version__ = '%s.%s.%s%s'%(version_info[0], version_info[1], version_info[2],
'' if version_info[3]=='final' else _specifier_[version_info[3]]+str(version_info[4]))
__version__ = '%s.%s.%s%s' % (
version_info[0],
version_info[1],
version_info[2],
'' if version_info[3]=='final' else _specifier_[version_info[3]]+str(version_info[4])
)