File: version.py

package info (click to toggle)
python-docker 7.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 748 kB
  • sloc: python: 6,986; makefile: 6
file content (8 lines) | stat: -rw-r--r-- 240 bytes parent folder | download
1
2
3
4
5
6
7
8
try:
    from ._version import __version__
except ImportError:
    from importlib.metadata import PackageNotFoundError, version
    try:
        __version__ = version('docker')
    except PackageNotFoundError:
        __version__ = '0.0.0'