code: def extra_opts(on_win=False):
      if on_win:
          py_dir = os.path.dirname(sys.executable)
          include_path = os.path.join(py_dir, "include")
          py_libs = os.path.join(
              py_dir,
              "libs",
              "python{}{}.lib".format(
                  sys.version_info.major, sys.version_info.minor
              ),
          )
          return [
              "-DPYTHON_INCLUDE=/I " + include_path,
              "-DPYTHON_LIBRARIES=" + py_libs,
          ]
  
      return []
  
imports: from __future__ import print_function
  import glob
  import subprocess
  import shutil
  import os
  import stat
  import sys
  import platform
  import tempfile
  import hashlib
  from base64 import urlsafe_b64encode
  from argparse import ArgumentParser
  from enum import Enum
label_desc: Use image node_id 6 for calling a global function with example usage: extra_opts(on_win) and returns: list, list