diff --git a/docs/conf.py b/docs/conf.py index 0a76f0d..8194fe2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/pywwt/_version.py b/pywwt/_version.py index 9420966..957c259 100644 --- a/pywwt/_version.py +++ b/pywwt/_version.py @@ -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]) +)