code: def get_tagged_version():
      
      with open(relative_path('salesforce/__init__.py'), 'r') as fd:
          version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
                              fd.read(), re.MULTILINE).group(1)
      return version
docs: Determine the current version of this package.
  
      Precise long version numbers are used if the Git repository is found.
      They contain: the Git tag, the commit serial and a short commit id.
      otherwise a short version number is used if installed from Pypi.