def get_requirements(txt_file):
    """
    Get the list of requirements for setup_requires in setup.py

    :param txt_file:
    :return list:
    """
    def is_req(req):
        return (not (req[0]=="#")) if len(req)>0 else False
    lines = [line.split("\n")[0] for line in open(txt_file,"r").readlines()]
    return [line for line in lines if is_req(line)]