def get_metadata(package_name):
    """
    Return runner related metadata for the provided runner package name.

    :rtype: ``list`` of ``dict``
    """
    import pkg_resources

    file_path = pkg_resources.resource_filename(package_name, MANIFEST_FILE_NAME)

    with open(file_path, "r") as fp:
        content = fp.read()

    metadata = yaml.safe_load(content)
    return metadata

    Return runner related metadata for the provided runner package name.

    :rtype: ``list`` of ``dict``
    
st2common/st2common/runners/base.py