try: | |
from ._version import __version__ | |
except ImportError: | |
from importlib.metadata import PackageNotFoundError, version | |
try: | |
__version__ = version('docker') | |
except PackageNotFoundError: | |
__version__ = '0.0.0' | |
try: | |
from ._version import __version__ | |
except ImportError: | |
from importlib.metadata import PackageNotFoundError, version | |
try: | |
__version__ = version('docker') | |
except PackageNotFoundError: | |
__version__ = '0.0.0' | |