code: def config_cython():
      """Try to configure cython and return cython configuration"""
      if not with_cython:
          return []
      # pylint: disable=unreachable
      if os.name == "nt":
          print(
              "WARNING: Cython is not supported on Windows, will compile without cython module"
          )
          return []
  
      try:
          from Cython.Build import cythonize
  
          subdir = "_cy3"
          ret = []
          path = "mxnet/cython"
          if os.name == "nt":
              library_dirs = ["mxnet", "../build/Release", "../build"]
              libraries = ["libmxnet"]
          else:
              library_dirs = [os.path.dirname(p) for p in LIB_PATH]
              libraries = ["mxnet"]
              # Default paths to libmxnet.so relative to the shared library file generated by cython.
              # These precede LD_LIBRARY_PATH.
              extra_link_args = [
                  "-Wl,-rpath,$ORIGIN/..:$ORIGIN/../../../lib:$ORIGIN/../../../build"
              ]
  
          for fn in os.listdir(path):
              if not fn.endswith(".pyx"):
                  continue
              ret.append(
                  Extension(
                      f"mxnet.{subdir}.{fn[:-4]}",
                      [f"mxnet/cython/{fn}"],
                      include_dirs=[
                          "../include/",
                          "../3rdparty/tvm/nnvm/include",
                      ],
                      library_dirs=library_dirs,
                      libraries=libraries,
                      extra_link_args=extra_link_args,
                      language="c++",
                  )
              )
  
          path = "mxnet/_ffi/_cython"
          for fn in os.listdir(path):
              if not fn.endswith(".pyx"):
                  continue
              ret.append(
                  Extension(
                      f"mxnet._ffi.{subdir}.{fn[:-4]}",
                      [f"mxnet/_ffi/_cython/{fn}"],
                      include_dirs=[
                          "../include/",
                          "../3rdparty/tvm/nnvm/include",
                      ],
                      library_dirs=library_dirs,
                      libraries=libraries,
                      extra_compile_args=["-std=c++17"],
                      extra_link_args=extra_link_args,
                      language="c++",
                  )
              )
  
          # If `force=True` is not used and you cythonize the modules for python2 and python3
          # successively, you need to delete `mxnet/cython/ndarray.cpp` after the first cythonize.
          return cythonize(ret, force=True)
      except ImportError:
          print(
              "WARNING: Cython is not installed, will compile without cython module"
          )
          return []
  
imports: from __future__ import absolute_import
  import os
  import sys
  from setuptools import find_packages
label_desc: Use image node_id 1 for calling a global function with example usage: config_cython() and returns: list, list, cythonize, list