code: def get_version():
      
      version_file = os.path.join("paps_settings", "__init__.py")
      initfile_lines = open(version_file, 'rt').readlines()
      version_reg = r"^__version__ = ['\"]([^'\"]*)['\"]"
      for line in initfile_lines:
          mo = re.search(version_reg, line, re.M)
          if mo:
              return mo.group(1)
      raise RuntimeError(
          "Unable to find version string in {}".format(version_file)
      )
docs: Parse the version information from the init file