We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28d0e87 commit 54b62d2Copy full SHA for 54b62d2
src/clamd/__init__.py
@@ -1,7 +1,5 @@
1
try:
2
- import importlib
3
-
4
- __version__ = importlib.metadata.distribution("clamd").version
+ __version__ = __import__("pkg_resources").get_distribution("clamd").version
5
except ImportError:
6
__version__ = ""
7
0 commit comments