code: def make_cython_ext(name, module, sources):
      extra_compile_args = None
      if platform.system() != "Windows":
          extra_compile_args = {
              "cxx": ["-Wno-unused-function", "-Wno-write-strings"]
          }
  
      extension = Extension(
          "{}.{}".format(module, name),
          [os.path.join(*module.split("."), p) for p in sources],
          include_dirs=[np.get_include()],
          language="c++",
          extra_compile_args=extra_compile_args,
      )
      (extension,) = cythonize(extension)
      return extension
  
file_path: norfair/demos/alphapose/setup.py
imports: import os
  import platform
  import subprocess
  import time
  import numpy
  from Cython.Build import cythonize
  from setuptools import Extension, find_packages, setup
  from torch.utils.cpp_extension import BuildExtension, CUDAExtension
label_desc: Use image node_id 6 for calling a global function with example usage: make_cython_ext(name, module, sources) and returns: extension