From 50e5373ce3923d84b75eb8a3ef09f8f5e9162bb6 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Fri, 20 Sep 2019 12:48:41 -0400 Subject: [PATCH] Preparing release v0.7.0 --- docs/conf.py | 2 +- pywwt/_version.py | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 0a76f0d1..8194fe2e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -62,7 +62,7 @@ # 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 94209661..957c2598 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]) +)