Skip to content

Commit

Permalink
Merge pull request #1074 from marshmallow-code/2.x-line-version-info
Browse files Browse the repository at this point in the history
Add __version_info__
  • Loading branch information
sloria committed Dec 26, 2018
2 parents d48c054 + 747faa7 commit 44a158d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
---------

2.17.0 (unreleased)
+++++++++++++++++++

Features:

- Add ``marshmallow.__version_info__``.

2.16.3 (2018-11-01)
+++++++++++++++++++

Expand Down
2 changes: 2 additions & 0 deletions marshmallow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
)
from marshmallow.utils import pprint, missing
from marshmallow.exceptions import ValidationError
from distutils.version import LooseVersion

__version__ = '2.16.3'
__version_info__ = tuple(LooseVersion(__version__).version)
__author__ = 'Steven Loria'
__all__ = [
'Schema',
Expand Down

0 comments on commit 44a158d

Please sign in to comment.