

@staticmethod
def requirements(fname):
    '\n        Create a list of requirements from the output of the pip freeze command\n        saved in a text file.\n        '
    packages = Setup.read(fname, fail_silently=True).split('\n')
    packages = (p.strip() for p in packages)
    packages = (p for p in packages if (p and (not packages.startswith('#'))))
    packages = (p for p in packages if (p and (not p.startswith('https://'))))
    packages = (p for p in packages if (p and (not p.startswith('-r '))))
    return list(packages)

dataset/ETHPy150Open GaretJax/django-click/setup.py Setup.requirements/VarMisuse@61/110 `p`->`packages`