docs: def dist_location(dist):
      """
      Get the site-packages location of this distribution. Generally
      this is dist.location, except in the case of develop-installed
      packages, where dist.location is the source code location, and we
      want to know where the egg-link file is.
  
      """
      egg_link = egg_link_path(dist)
      if os.path.exists(egg_link):
          return egg_link
      return dist.location