code: def get_dist_info(self, zf):
      # find the correct name of the .dist-info dir in the wheel file
      for member in zf.namelist():
          dirname = posixpath.dirname(member)
          if dirname.endswith(".dist-info") and canonicalize_name(
              dirname
          ).startswith(canonicalize_name(self.project_name)):
              return dirname
      raise ValueError("unsupported wheel format. .dist-info not found")
  
imports: import email
  import itertools
  import functools
  import os
  import posixpath
  import re
  import zipfile
  import contextlib
  from distutils.util import get_platform
  import setuptools
  from setuptools.extern.packaging.version import Version
  from setuptools.extern.packaging.tags import sys_tags
  from setuptools.extern.packaging.utils import canonicalize_name
  from setuptools.command.egg_info import write_requirements, _egg_basename
  from setuptools.archive_util import _unpack_zipfile_obj
label_desc: Use image node_id 5 for calling the Wheel obj's underlying member method code with example usage: obj.get_dist_info(zf) and returns: dirname