Skip to content

Commit

Permalink
Add __version_info__
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Apr 9, 2019
1 parent b13a93d commit cbebc4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Features:

* Add `"path"` location to ``AIOHTTPParser``, ``FlaskParser``, and
``PyramidParser`` (:pr:`379`). Thanks :user:`zhenhua32` for the PR.
* Add ``webargs.__version_info__``.

5.2.0 (2019-03-16)
******************
Expand Down
2 changes: 2 additions & 0 deletions src/webargs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
from distutils.version import LooseVersion
from marshmallow.utils import missing

# Make marshmallow's validation functions importable from webargs
Expand All @@ -8,6 +9,7 @@
from webargs import fields

__version__ = "5.2.0"
__version_info__ = tuple(LooseVersion(__version__).version)
__author__ = "Steven Loria"
__license__ = "MIT"

Expand Down

0 comments on commit cbebc4d

Please sign in to comment.