code: def walk_data(cls, dist, path='/'):
      
      for rel_fn in filter(None, dist.resource_listdir(path)):
        full_fn = os.path.join(path, rel_fn)
        if dist.resource_isdir(full_fn):
          for fn, stream in cls.walk_data(dist, full_fn):
            yield fn, stream
        else:
          yield full_fn[1:], dist.get_resource_stream(dist._provider, full_fn)
docs: Yields filename, stream for files identified as data in the distribution