code: def parse_directives(option, name, value, parser):
      dest = option.dest
      old_directives = dict(
          getattr(parser.values, dest, Options.get_directive_defaults())
      )
      directives = Options.parse_directive_list(
          value, relaxed_bool=True, current_settings=old_directives
      )
      setattr(parser.values, dest, directives)
  
imports: from __future__ import absolute_import
  import os
  import shutil
  import tempfile
  from distutils.core import setup
  from .Dependencies import cythonize, extended_iglob
  from ..Utils import is_package_dir
  from ..Compiler import Options
label_desc: Use image node_id 1 for calling a global function with example usage: parse_directives(option, name, value, parser) without return types