code: def discover_buildout_paths(evaluator, script_path):
      buildout_script_paths = set()
  
      for buildout_script_path in _get_buildout_script_paths(
          script_path
      ):
          for path in _get_paths_from_buildout_script(
              evaluator, buildout_script_path
          ):
              buildout_script_paths.add(path)
  
      return buildout_script_paths
  
file_path: catboost/contrib/python/jedi/py2/jedi/evaluate/sys_path.py
imports: import os
  from jedi._compatibility import unicode, force_unicode, all_suffixes
  from jedi.evaluate.cache import evaluator_method_cache
  from jedi.evaluate.base_context import ContextualizedNode
  from jedi.evaluate.helpers import is_string
  from jedi.common.utils import traverse_parents
  from jedi.parser_utils import get_cached_code_lines
  from jedi import settings
  from jedi import debug
label_desc: Use image node_id 5 for calling a global function with example usage: discover_buildout_paths(evaluator, script_path) and returns: buildout_script_paths