code: def find_packages(top=HERE):
      """
      Find all of the packages.
      """
      packages = []
      for d, dirs, _ in os.walk(top, followlinks=True):
          if os.path.exists(pjoin(d, "__init__.py")):
              packages.append(
                  os.path.relpath(d, top).replace(os.path.sep, ".")
              )
          elif d != top:
              # Do not look for packages in subfolders if current is not a package
              dirs[:] = []
      return packages
  
imports: from collections import defaultdict
  from os.path import join
  import io
  import os
  import functools
  import pipes
  import re
  import shlex
  import subprocess
  import sys
  from setuptools import Command
  from setuptools.command.build_py import build_py
  from setuptools.command.sdist import sdist
  from distutils import log
  from setuptools.command.develop import develop
  from setuptools.command.bdist_egg import bdist_egg
label_desc: Use image node_id 3 for calling a global function with example usage: find_packages(top) and returns: packages