docs: def VersionPath():
    """Returns a path to version.ini."""
  
    # Try to get a version.ini. It should be in the resources if the code
    # was packed with "pip sdist". It will be 2 levels up from grr_response_core
    # if the code was installed via "pip install -e".
    version_ini = (
        package.ResourcePath("grr-response-core", "version.ini") or
        package.ResourcePath("grr-response-core", "../../version.ini"))
  
    if not os.path.exists(version_ini):
      raise RuntimeError("Can't find version.ini at %s" % version_ini)
  
    return version_ini