def METHOD_NAME(req_file="requirements.txt"):
    req_tmp_file = req_file + '.tmp.txt'
    try:
        reqs_http = []
        with open(req_file, 'rt') as f:
            contents = f.readlines()
            with open(req_tmp_file, 'wt') as g:
                for line in contents:
                    if 'http://' not in line and 'https://' not in line:
                        g.write(line)
                    else:
                        reqs_http.append(line.replace('\n', ''))
        reqs_http = [x for x in reqs_http if x]
        print('reqs_http: %s' % reqs_http, flush=True)
        with open(req_tmp_file, "rt") as f:
            requirements = pkg_resources.parse_requirements(f.read())
    finally:
        remove(req_tmp_file)
    return requirements, reqs_http