class_docstr: Install an .egg-info directory for the package
class_docstr_tok: ["Install","an",".egg-info","directory","for","the","package"]
code: def finalize_options(self):
      self.set_undefined_options(
          "install_lib", ("install_dir", "install_dir")
      )
      ei_cmd = self.get_finalized_command("egg_info")
      basename = f"{ei_cmd._get_egg_basename()}.egg-info"
      self.source = ei_cmd.egg_info
      self.target = os.path.join(self.install_dir, basename)
      self.outputs = []
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/command/install_egg_info.py
imports: from distutils import log, dir_util
  import os
  from setuptools import Command
  from setuptools import namespaces
  from setuptools.archive_util import unpack_archive
  from .._path import ensure_directory
label_desc: Use image node_id 2 for calling the install_egg_info obj's underlying member method code with example usage: obj.finalize_options() without return types