code: def walk_egg(egg_dir):
      """Walk an unpacked egg's contents, skipping the metadata directory"""
      walker = sorted_walk(egg_dir)
      base, dirs, files = next(walker)
      if "EGG-INFO" in dirs:
          dirs.remove("EGG-INFO")
      yield base, dirs, files
      for bdf in walker:
          yield bdf
  
imports: from distutils.dir_util import remove_tree, mkpath
  from distutils import log
  from types import CodeType
  import sys
  import os
  import re
  import textwrap
  import marshal
  from setuptools.extension import Library
  from setuptools import Command
  from .._path import ensure_directory
  from sysconfig import get_path, get_python_version
label_desc: Use image node_id 5 for calling a global function with example usage: walk_egg(egg_dir) without return types