Skip to content

Commit 7d6e43f

Browse files
committed
fix version
1 parent 77eaf59 commit 7d6e43f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pproxy/__doc__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
__version__ = get_version()
1212
except Exception:
1313
try:
14-
from importlib.metadata import version
15-
__version__ = version("package-name")
14+
from pkg_resources import get_distribution
15+
__version__ = get_distribution('pproxy').version
1616
except Exception:
1717
__version__ = 'unknown'
1818

0 commit comments

Comments
 (0)