code: def extract_gcc_binaries():
      """Try to find GCC on OSX for OpenMP support."""
      patterns = [
          "/opt/local/bin/g++-mp-[0-9].[0-9]",
          "/opt/local/bin/g++-mp-[0-9]",
          "/usr/local/bin/g++-[0-9].[0-9]",
          "/usr/local/bin/g++-[0-9]",
      ]
      if sys.platform.startswith("darwin"):
          gcc_binaries = []
          for pattern in patterns:
              gcc_binaries += glob.glob(pattern)
          gcc_binaries.sort()
          if gcc_binaries:
              _, gcc = os.path.split(gcc_binaries[-1])
              return gcc
          else:
              return None
      else:
          return None
  
file_path: cornac/setup.py
imports: import os
  import sys
  import glob
  import shutil
  from setuptools import Extension, Command, setup, find_packages
label_desc: Use image node_id 1 for calling a global function with example usage: extract_gcc_binaries() and returns: None, gcc, None