docs: def store_records_for_package(self, entry_point, records):
          """
          Given that records are based on the parent, and the same entry
          point(s) will reference those same records multiple times, the
          actual stored records must be limited.
          """
  
          pkg_records_entry = self._dist_to_package_module_map(entry_point)
          pkg_records_entry.extend(
              rec for rec in records if rec not in pkg_records_entry)
          # TODO figure out a more efficient way to do this with a bit
          # more reuse.
          if entry_point.dist is not None:
              if entry_point.dist.project_name not in self.package_loader_map:
                  self.package_loader_map[entry_point.dist.project_name] = []
              self.package_loader_map[entry_point.dist.project_name].append(
                  entry_point.name)