def resolve_egg_link(path):
referenced_paths = non_empty_lines(path)<EOL>resolved_paths = (<EOL>os.path.join(os.path.dirname(path), ref)<EOL>for ref in referenced_paths<EOL>)<EOL>dist_groups = map(find_distributions, resolved_paths)<EOL>return next(dist_groups, ())<EOL>
Given a path to an .egg-link, resolve distributions
present in the referenced path.