class_docstr: Use easy_install to install the package, w/dependencies
class_docstr_tok: ["Use","easy_install","to","install","the","package",",","w\/dependencies"]
code: def do_egg_install(self):
      easy_install = self.distribution.get_command_class("easy_install")
  
      cmd = easy_install(
          self.distribution,
          args="x",
          root=self.root,
          record=self.record,
      )
      cmd.ensure_finalized()  # finalize before bdist_egg munges install cmd
      cmd.always_copy_from = (
          "."  # make sure local-dir eggs get installed
      )
  
      # pick up setup-dir .egg files only: no .egg-info
      cmd.package_index.scan(glob.glob("*.egg"))
  
      self.run_command("bdist_egg")
      args = [self.distribution.get_command_obj("bdist_egg").egg_output]
  
      if setuptools.bootstrap_install_from:
          # Bootstrap self-installation of setuptools
          args.insert(0, setuptools.bootstrap_install_from)
  
      cmd.args = args
      cmd.run(show_deprecation=False)
      setuptools.bootstrap_install_from = None
  
file_path: catboost/contrib/python/setuptools/py2/setuptools/command/install.py
imports: from distutils.errors import DistutilsArgError
  import inspect
  import glob
  import warnings
  import platform
  import distutils.command.install
  import setuptools
label_desc: Use image node_id 6 for calling the install obj's underlying member method code with example usage: obj.do_egg_install() without return types