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 e7d36e8 commit e8e92f2Copy full SHA for e8e92f2
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