code: def setup():
      top_dir = dirname(dirname(abspath(__file__)))
      lib_dir = join(top_dir, "lib")
      sys.path.insert(0, lib_dir)
  
      # Attempt to get 'pygments' on the import path.
      try:
          # If already have it, use that one.
          import pygments  # noqa
      except ImportError:
          pygments_dir = join(top_dir, "deps", "pygments")
          if sys.version_info[0] <= 2:
              sys.path.insert(0, pygments_dir)
          else:
              sys.path.insert(0, pygments_dir + "3")
  
imports: import importlib
  import os
  from os.path import join, abspath, dirname
  import sys
  import logging
  import testlib
label_desc: Use image node_id 1 for calling a global function with example usage: setup() without return types