from typing import Set


def read_requirements(filepath) -> Set[str]:
    """Reads a standard requirements.txt file."""
    with open(filepath) as fh:
        raw = fh.readlines()
    raw = [x.strip() for x in raw]
    raw = [x for x in raw if x and x[0] != "#"]
    return set(raw)