code: def build_from_c_and_cpp_files(extensions):
      """Modify the extensions to build from the .c and .cpp files.
  
      This is useful for releases, this way cython is not required to
      run python setup.py install.
      """
      for extension in extensions:
          sources = []
          for sfile in extension.sources:
              path, ext = os.path.splitext(sfile)
              if ext in (".pyx", ".py"):
                  if extension.language == "c++":
                      ext = ".cpp"
                  else:
                      ext = ".c"
                  sfile = path + ext
              sources.append(sfile)
          extension.sources = sources
  
imports: from __future__ import division, print_function, absolute_import
  import os
  from distutils.version import LooseVersion
  from numpy.distutils.system_info import get_info
label_desc: Use image node_id 2 for calling a global function with example usage: build_from_c_and_cpp_files(extensions) without return types