code: def make_sniffer(compiler):
      if os.environ.get("STATIC_FFTW_DIR", None) is None:
          log.debug("Link FFTW dynamically")
          return DynamicSniffer(compiler)
      else:
          log.debug("Link FFTW statically")
          return StaticSniffer(compiler)
  
imports: from setuptools import setup, Command
  from setuptools.command.build_ext import build_ext
  from sysconfig import get_platform
  from contextlib import redirect_stderr, redirect_stdout
  import os
  import logging
  import platform
  import sys
  import versioneer
label_desc: Use image node_id 5 for calling a global function with example usage: make_sniffer(compiler) and returns: DynamicSniffer, StaticSniffer