code: def _get_whl_from_dir(cls, install_dir):
      
      dist_dir = cls._get_dist_dir(install_dir)
      dists = glob.glob(os.path.join(dist_dir, '*.whl'))
      if len(dists) == 0:
        raise cls.BuildLocalPythonDistributionsError(
          'No distributions were produced by python_create_distribution task.\n'
          'dist_dir: {}, install_dir: {}'
          .format(dist_dir, install_dir))
      if len(dists) > 1:
        # TODO: is this ever going to happen?
        raise cls.BuildLocalPythonDistributionsError('Ambiguous local python distributions found: {}'
                                                     .format(dists))
      return dists[0]
docs: Return the absolute path of the whl in a setup.py install directory.