code: def configure_extension(name: str, path: str):
      """Configure an extension and bind with third-party libs"""
      if isinstance(path, str):
          path = [path]
      return Extension(
          name,
          path,
          language="c++",
          include_dirs=INCLUDE_DIRS,
          libraries=LIBS,
          library_dirs=LIB_DIRS,
          extra_compile_args=COMPILE_ARGS,
      )
  
file_path: aim/setup.py
imports: import sys
  import os
  import platform
  from shutil import rmtree
  from setuptools import find_packages, setup, Command, Extension
  from Cython.Build import cythonize
  from aimrocks import lib_utils
label_desc: Use image node_id 2 for calling a global function with example usage: configure_extension(name, path) and returns: Extension