Preparing release v0.7.0
This commit is contained in:
Родитель
19800a285b
Коммит
50e5373ce3
|
@ -62,7 +62,7 @@ copyright = '2017, ' + author
|
||||||
# built documents.
|
# built documents.
|
||||||
#
|
#
|
||||||
# The short X.Y version.
|
# The short X.Y version.
|
||||||
version = '0.7.0.dev0'
|
version = '0.7.0'
|
||||||
# The full version, including alpha/beta/rc tags.
|
# The full version, including alpha/beta/rc tags.
|
||||||
release = version
|
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],
|
__version__ = '%s.%s.%s%s' % (
|
||||||
'' if version_info[3]=='final' else _specifier_[version_info[3]]+str(version_info[4]))
|
version_info[0],
|
||||||
|
version_info[1],
|
||||||
|
version_info[2],
|
||||||
|
'' if version_info[3]=='final' else _specifier_[version_info[3]]+str(version_info[4])
|
||||||
|
)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче