Skip to content

Commit

Permalink
Merge pull request #160 from jschlyter/importlib_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter authored Jun 18, 2024
2 parents bbb5c31 + 7fbaee5 commit 8765de7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exclude_lines = [

[tool.poetry]
name = "cryptojwt"
version = "1.9.1"
version = "1.9.2"
description = "Python implementation of JWT, JWE, JWS and JWK"
authors = ["Roland Hedberg <[email protected]>"]
license = "Apache-2.0"
Expand Down
5 changes: 2 additions & 3 deletions src/cryptojwt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"""JSON Web Token"""

import logging

import pkg_resources
from importlib.metadata import version

from cryptojwt.jwe.jwe import JWE
from cryptojwt.jwk import JWK
Expand All @@ -24,7 +23,7 @@
except ImportError:
pass

__version__ = pkg_resources.get_distribution("cryptojwt").version
__version__ = version("cryptojwt")

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 8765de7

Please sign in to comment.