def get_requirements(rfile):
    """Get list of required Python packages."""
    requires = list()
    with open(rfile, "r") as reqfile:
        for line in reqfile.readlines():
            requires.append(line.strip())
    return requires