code: def configuration(parent_package="", top_path=None):
      from numpy import get_include
      from scipy._build_utils.system_info import get_info, NotFoundError
      from numpy.distutils.misc_util import Configuration
  
      from os.path import join, dirname
  
      lapack_opt = get_info("lapack_opt")
      lib_inc = join(dirname(dirname(dirname(__file__))), "_lib")
  
      config = Configuration("_trlib", parent_package, top_path)
      config.add_extension(
          "_trlib",
          sources=[
              "_trlib.c",
              "trlib_krylov.c",
              "trlib_eigen_inverse.c",
              "trlib_leftmost.c",
              "trlib_quadratic_zero.c",
              "trlib_tri_factor.c",
          ],
          include_dirs=[get_include(), lib_inc, "trlib"],
          extra_info=lapack_opt,
      )
      return config
  
label_desc: Use image node_id 1 for calling a global function with example usage: configuration(parent_package, top_path) and returns: config