def _get_requirements(fname):
packages = _read(fname).split('<STR_LIT:\n>')<EOL>packages = (p.strip() for p in packages)<EOL>packages = (p for p in packages if p and not p.startswith('<STR_LIT:#>'))<EOL>return list(packages)<EOL>
Create a list of requirements from the output of the pip freeze command
saved in a text file.