code: def get_build_backend_name(name=None):
      if name is None:
          name = os.environ.get("MPI4PY_BUILD_BACKEND", "")
          name = name.lower().replace("_", "-")
      if name in ("default", ""):
          for name, module_name in BACKENDS.items():
              if name != "setuptools":
                  if module_name in sys.modules:
                      return name
          return "setuptools"
      if name in ("setuptools", "setup"):
          return "setuptools"
      if name in (
          "scikit-build-core",
          "scikit-build",
          "skbuild",
          "cmake",
      ):
          return "skbuild"
      if name in ("meson-python", "mesonpy", "meson"):
          return "mesonpy"
      raise RuntimeError(f"Unknown build backend {name!r}")
  
file_path: mpi4py/conf/builder.py
imports: import contextlib
  import importlib
  import os
  import shutil
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: get_build_backend_name(name) and returns: str, str, str, str, name