code: def guild_dist_info():
      metadata = PathMetadata(".", GUILD_DIST_BASENAME)
      dist = PkgDist.from_filename(GUILD_DIST_BASENAME, metadata)
      assert dist.project_name == "guildai", dist
      entry_points = {
          group: [str(ep) for ep in eps.values()]
          for group, eps in dist.get_entry_map().items()
      }
      return dist._parsed_pkg_info, entry_points
  
file_path: guildai/setup.py
imports: import os
  import platform
  import subprocess
  from pkg_resources import Distribution
  from pkg_resources import PathMetadata
  from setuptools import find_packages, setup
  from setuptools.command.build_py import build_py
  import guild
  from guild import log
label_desc: Use image node_id 1 for calling a global function with example usage: guild_dist_info() and returns: dist,  entry_points