code: def findall(dir=os.curdir):
      """
      Find all files under 'dir' and return the list of full filenames.
      Unless dir is '.', return full filenames with dir prepended.
      """
      files = _find_all_simple(dir)
      if dir == os.curdir:
          make_rel = functools.partial(os.path.relpath, start=dir)
          files = map(make_rel, files)
      return list(files)
  
imports: import functools
  import os
  import re
  import _distutils_hack.override
  import distutils.core
  from distutils.errors import DistutilsOptionError
  from distutils.util import convert_path
  from .None import logging, monkey
  from .None import version
  from .depends import Require
  from .discovery import PackageFinder, PEP420PackageFinder
  from .dist import Distribution
  from .extension import Extension
  from .warnings import SetuptoolsDeprecationWarning
label_desc: Use image node_id 5 for calling a global function with example usage: findall(dir) and returns: list