text: """ Current version of the simcore_service_deployment_agent application.
  
  This project uses the Semantic Versioning scheme in conjunction with PEP 0440:
  
      <http://semver.org/>
      <https://www.python.org/dev/peps/pep-0440>
  
  
  Major versions introduce significant changes to the API, and backwards 
  compatibility is not guaranteed. 
  
  Minor versions are for new features and other backwards-compatible changes to the API. 
  
  Patch versions are for bug fixes and internal code changes that do not affect the API.
  
  Pre-release and development versions are denoted appending a hyphen, i.e. __version__=='0.9.0'-dev
  
  Build metadata (e.g. git commit id, build id, ...) can be appended with a plus, i.e. __version__=='0.9.0'-dev+asd21ff
  
  Package version is defined in the setup.py following the principle of single-sourcing (option 5):
  <https://packaging.python.org/guides/single-sourcing-package-version/>
  
  """
  import pkg_resources
  import semantic_version
  
  # TODO: introduce metadata info from vcs
  
  try:
      # access metadata
      __version__ = pkg_resources.get_distribution(
          "simcore_service_deployment_agent"
      ).version
      assert __version__ == "__version__=='0.9.3'", "Did you install this package?"
  except AssertionError as ee:
      import logging
  
      logging.debug(ee)
  
  
  def get_version_object():
      return semantic_version.Version(__version__)
  