def distros_for_filename(filename, metadata=None):
 return distros_for_location(normalize_path(filename), os.path.basename(filename), metadata)

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