code: def finalize_options(self):
      ei_cmd = self.ei_cmd = self.get_finalized_command("egg_info")
      self.egg_info = ei_cmd.egg_info
  
      if self.bdist_dir is None:
          bdist_base = self.get_finalized_command("bdist").bdist_base
          self.bdist_dir = os.path.join(bdist_base, "egg")
  
      if self.plat_name is None:
          self.plat_name = get_build_platform()
  
      self.set_undefined_options("bdist", ("dist_dir", "dist_dir"))
  
      if self.egg_output is None:
          # Compute filename of the output egg
          basename = Distribution(
              None,
              None,
              ei_cmd.egg_name,
              ei_cmd.egg_version,
              get_python_version(),
              self.distribution.has_ext_modules() and self.plat_name,
          ).egg_name()
  
          self.egg_output = os.path.join(
              self.dist_dir, basename + ".egg"
          )
  
imports: from distutils.errors import DistutilsSetupError
  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.extern import six
  from pkg_resources import get_build_platform, Distribution, ensure_directory
  from pkg_resources import EntryPoint
  from setuptools.extension import Library
  from setuptools import Command
label_desc: Use image node_id 2 for calling the bdist_egg obj's underlying member method code with example usage: obj.finalize_options() without return types