def reqs_from_file(filename):
    """ Read the setup requirements from a requirements file """
    with open(filename) as f:
        lineiter = (line.rstrip() for line in f if not line.startswith("#"))
        return list(filter(None, lineiter))