code: def _get_build_extension():
      dist = Distribution()
      # Ensure the build respects distutils configuration by parsing
      # the configuration files
      config_files = dist.find_config_files()
      dist.parse_config_files(config_files)
      build_extension = build_ext(dist)
      build_extension.finalize_options()
      return build_extension
  
imports: from __future__ import absolute_import
  import hashlib
  import inspect
  import os
  import re
  import sys
  from distutils.core import Distribution, Extension
  from distutils.command.build_ext import build_ext
  import Cython
  from ..Compiler.Main import Context, default_options
  from ..Compiler.Visitor import CythonTransform, EnvTransform
  from ..Compiler.ParseTreeTransforms import SkipDeclarations
  from ..Compiler.TreeFragment import parse_from_strings
  from ..Compiler.StringEncoding import _unicode
  from .Dependencies import strip_string_literals, cythonize, cached_function
  from ..Compiler import Pipeline
  from ..Utils import get_cython_cache_dir
  import cython
label_desc: Use image node_id 4 for calling a global function with example usage: _get_build_extension() and returns: build_extension