code: def distros_for_filename(filename, metadata=None):
      
      return distros_for_location(
          normalize_path(filename), os.path.basename(filename), metadata
      )
docs: Yield possible egg or source distribution objects based on a filename