def dist_location(dist):
 egg_link = egg_link_path(dist)
 if egg_link:
  return egg_link
 return dist.location

def dist_location ( dist ) : egg_link = egg_link_path ( dist ) if egg_link : return egg_link return dist . location
get the site-packages location of this distribution .