def get_resource_path(self, relative_path):
r = self.get_distinfo_resource('<STR_LIT>')<EOL>with contextlib.closing(r.as_stream()) as stream:<EOL><INDENT>with CSVReader(stream=stream) as resources_reader:<EOL><INDENT>for relative, destination in resources_reader:<EOL><INDENT>if relative == relative_path:<EOL><INDENT>return destination<EOL><DEDENT><DEDENT><DEDENT><DEDENT>raise KeyError('<STR_LIT>'<EOL>'<STR_LIT>' % relative_path)<EOL>
NOTE: This API may change in the future.

Return the absolute path to a resource file with the given relative
path.

:param relative_path: The path, relative to .dist-info, of the resource
                      of interest.
:return: The absolute path where the resource is to be found.