code: def _install_as_egg(self, destination_eggdir, zf):
      dist_basename = "%s-%s" % (self.project_name, self.version)
      dist_info = self.get_dist_info(zf)
      dist_data = "%s.data" % dist_basename
      egg_info = os.path.join(destination_eggdir, "EGG-INFO")
  
      self._convert_metadata(
          zf, destination_eggdir, dist_info, egg_info
      )
      self._move_data_entries(destination_eggdir, dist_data)
      self._fix_namespace_packages(egg_info, destination_eggdir)
  
imports: from distutils.util import get_platform
  from distutils import log
  import email
  import itertools
  import os
  import posixpath
  import re
  import zipfile
  import pkg_resources
  import setuptools
  from pkg_resources import parse_version
  from setuptools.extern.packaging.tags import sys_tags
  from setuptools.extern.packaging.utils import canonicalize_name
  from setuptools.extern.six import PY3
  from setuptools.command.egg_info import write_requirements
label_desc: Use image node_id 7 for calling the Wheel obj's underlying member method code with example usage: obj._install_as_egg(destination_eggdir, zf) without return types