def codepointsInNamelist(namFilename, unique_glyphs=False, cache=None):
key = '<STR_LIT>' if not unique_glyphs else '<STR_LIT>'<EOL>internals_dir = os.path.dirname(os.path.abspath(__file__))<EOL>target = os.path.join(internals_dir, namFilename)<EOL>result = readNamelist(target, unique_glyphs, cache)<EOL>return result[key]<EOL>
Returns the set of codepoints contained in a given Namelist file.

    This is a replacement CodepointsInSubset and implements the "#$ include"
    header format.

    Args:
      namFilename: The path to the  Namelist file.
      unique_glyphs: Optional, whether to only include glyphs unique to subset.
    Returns:
      A set containing the glyphs in the subset.