code: def get_config():
    
    # TODO(hanuszczak): See comment in `setup.py` for `grr-response-proto`.
    ini_path = os.path.join(THIS_DIRECTORY, "version.ini")
    if not os.path.exists(ini_path):
      ini_path = os.path.join(THIS_DIRECTORY, "../../version.ini")
      if not os.path.exists(ini_path):
        raise RuntimeError("Couldn't find version.ini")
  
    config = configparser.SafeConfigParser()
    config.read(ini_path)
    return config
docs: Get INI parser with version.ini data.