Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

version.py 536B

1234567891011121314
  1. try:
  2. from ._version import __version__
  3. except ImportError:
  4. try:
  5. # importlib.metadata available in Python 3.8+, the fallback (0.0.0)
  6. # is fine because release builds use _version (above) rather than
  7. # this code path, so it only impacts developing w/ 3.7
  8. from importlib.metadata import version, PackageNotFoundError
  9. try:
  10. __version__ = version('docker')
  11. except PackageNotFoundError:
  12. __version__ = '0.0.0'
  13. except ImportError:
  14. __version__ = '0.0.0'