docs: def find_entry_point(site_packages: Path, console_script: str) -> str:
      """Find a console_script in a site-packages directory.
  
      Console script metadata is stored in entry_points.txt per setuptools
      convention. This function searches all entry_points.txt files and
      returns the import string for a given console_script argument.
  
      :param site_packages: A path to a site-packages directory on disk.
      :param console_script: A console_script string.
      """
  
      config_parser = ConfigParser()
      config_parser.read(site_packages.rglob("entry_points.txt"))
      return config_parser["console_scripts"][console_script]