docs: def get_data_files_tuple(*rel_path, **kwargs):
      """Return a tuple which can be used for setup.py's data_files
  
      :param tuple path: List of path elements pointing to a file or a directory of files
      :param dict kwargs: Set path_to_file to True is `path` points to a file
      :return: tuple of install directory and list of source files
      :rtype: tuple(str, [str])
      """
      rel_path = os.path.join(*rel_path)
      target_path = os.path.join("share", *rel_path.split(os.sep)[1:])  # remove source/ (package_dir)
      if "path_to_file" in kwargs and kwargs["path_to_file"]:
          source_files = [rel_path]
          target_path = os.path.dirname(target_path)
      else:
          source_files = [os.path.join(rel_path, filename) for filename in os.listdir(rel_path)]
      return target_path, source_files