parameters: (self, relative_path)
docstring: 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.
docstring_summary: NOTE: This API may change in the future.
docstring_tokens: NOTE : This API may change in the future .
function: def get_resource_path(self, relative_path):
          """
          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.
          """
          r = self.get_distinfo_resource('RESOURCES')
          with contextlib.closing(r.as_stream()) as stream:
              with CSVReader(stream=stream) as resources_reader:
                  for relative, destination in resources_reader:
                      if relative == relative_path:
                          return destination
          raise KeyError('no resource file with relative path %r '
                         'is installed' % relative_path)
function_tokens: def get_resource_path ( self , relative_path ) : r = self . get_distinfo_resource ( 'RESOURCES' ) with contextlib . closing ( r . as_stream ( ) ) as stream : with CSVReader ( stream = stream ) as resources_reader : for relative , destination in resources_reader : if relative == relative_path : return destination raise KeyError ( 'no resource file with relative path %r ' 'is installed' % relative_path )