Skip to content

Commit

Permalink
chore: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Laerte committed Jul 19, 2023
1 parent a5bcc7a commit f11411a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions aes_pkcs5/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
from importlib.metadata import metadata
from sys import version_info

_pkg_info = metadata("aes_pkcs5")

__version__ = _pkg_info["Version"]
__author__ = _pkg_info["Author"]
__version__, __author__ = list(
map(lambda x: metadata("aes_pkcs5")[x], ["Version", "Author"])
)

__all__ = ("__version__", "__author__")

0 comments on commit f11411a

Please sign in to comment.