code: def configuration(parent_package="", top_path=None):
      config = Configuration("metrics", parent_package, top_path)
  
      cblas_libs, blas_info = get_blas_info()
      if os.name == "posix":
          cblas_libs.append("m")
  
      config.add_extension(
          "pairwise_fast",
          sources=["pairwise_fast.pyx"],
          include_dirs=[
              os.path.join("..", "src", "cblas"),
              numpy.get_include(),
              blas_info.pop("include_dirs", []),
          ],
          libraries=cblas_libs,
          extra_compile_args=blas_info.pop("extra_compile_args", []),
          **blas_info,
      )
      config.add_subpackage("tests")
  
      return config
  
imports: import os
  import os.path
  import numpy
  from numpy.distutils.misc_util import Configuration
  from sklearn._build_utils import get_blas_info
label_desc: Use image node_id 1 for calling a global function with example usage: configuration(parent_package, top_path) and returns: config