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 0e9b6dd commit 54c29eeCopy full SHA for 54c29ee
src/dicomweb_client/__init__.py
@@ -1,9 +1,14 @@
1
-__version__ = '0.59.3'
+import importlib.metadata
2
3
from dicomweb_client.api import DICOMwebClient, DICOMfileClient
4
from dicomweb_client.protocol import DICOMClient
5
from dicomweb_client.uri import URI, URISuffix, URIType
6
7
+try:
8
+ __version__ = importlib.metadata.version(__name__)
9
+except importlib.metadata.PackageNotFoundError:
10
+ __version__ = '0.0.0'
11
+
12
__all__ = [
13
'DICOMClient',
14
'DICOMfileClient',
0 commit comments