Skip to content

Commit

Permalink
Preparing release v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pkgw committed Sep 20, 2019
1 parent 19800a2 commit 50e5373
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 8 additions & 4 deletions pywwt/_version.py
Original file line number Diff line number Diff line change
@@ -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])
)

0 comments on commit 50e5373

Please sign in to comment.