def walk_egg(egg_dir):
walker = os.walk(egg_dir)<EOL>base,dirs,files = next(walker)<EOL>if '<STR_LIT>' in dirs:<EOL><INDENT>dirs.remove('<STR_LIT>')<EOL><DEDENT>yield base,dirs,files<EOL>for bdf in walker:<EOL><INDENT>yield bdf<EOL><DEDENT>
Walk an unpacked egg's contents, skipping the metadata directory