code: def finalize_options(self):
      # Get all the information we need to install pure Python modules
      # from the umbrella 'install' command -- build (source) directory,
      # install (target) directory, and whether to compile .py files.
      self.set_undefined_options(
          "install",
          ("build_lib", "build_dir"),
          ("install_lib", "install_dir"),
          ("force", "force"),
          ("compile", "compile"),
          ("optimize", "optimize"),
          ("skip_build", "skip_build"),
      )
  
      if self.compile is None:
          self.compile = True
      if self.optimize is None:
          self.optimize = False
  
      if not isinstance(self.optimize, int):
          try:
              self.optimize = int(self.optimize)
              if self.optimize not in (0, 1, 2):
                  raise AssertionError
          except (ValueError, AssertionError):
              raise DistutilsOptionError("optimize must be 0, 1, or 2")
  
file_path: catboost/contrib/tools/python3/src/Lib/distutils/command/install_lib.py
imports: import os
  import importlib.util
  import sys
  from distutils.core import Command
  from distutils.errors import DistutilsOptionError
label_desc: Use image node_id 2 for calling the install_lib obj's underlying member method code with example usage: obj.finalize_options() without return types