def dist_location(dist):<EOL>
egg_link = egg_link_path(dist)<EOL>if egg_link:<EOL><INDENT>return egg_link<EOL><DEDENT>return dist.location<EOL>
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.