Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed Nov 9, 2024
1 parent e4c1821 commit dbf3e35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goatools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from datetime import datetime
from pkg_resources import get_distribution, DistributionNotFound
from importlib.metadata import version, PackageNotFoundError

__author__ = ("Haibao Tang", "DV Klopfenstein")
__copyright__ = "Copyright (C) 2009-{}, Haibao Tang, DV Klopfenstein".format(
Expand All @@ -10,7 +10,7 @@
__status__ = "Development"

try:
VERSION = get_distribution(__name__).version
VERSION = version(__name__)
except DistributionNotFound: # pragma: no cover
try:
from .version import version as VERSION # noqa
Expand Down

0 comments on commit dbf3e35

Please sign in to comment.