'Return the path to a resource file.'

def get_file_path(self, name, relative_path):

    dist = self.get_distribution(name)
    if (dist is None):
        raise LookupError((u'no    distribution    named    %r    found' % name))
    return dist.get_resource_path(relative_path)
