(fpath)
| 72 | yield info |
| 73 | |
| 74 | def parse_require_file(fpath): |
| 75 | with open(fpath, 'r') as f: |
| 76 | for line in f.readlines(): |
| 77 | line = line.strip() |
| 78 | if line and not line.startswith('#'): |
| 79 | for info in parse_line(line): |
| 80 | yield info |
| 81 | |
| 82 | def gen_packages_items(): |
| 83 | if exists(require_fpath): |
no test coverage detected