(fpath)
| 106 | yield info |
| 107 | |
| 108 | def parse_require_file(fpath): |
| 109 | with open(fpath) as f: |
| 110 | for line in f.readlines(): |
| 111 | line = line.strip() |
| 112 | if line and not line.startswith('#'): |
| 113 | yield from parse_line(line, fpath) |
| 114 | |
| 115 | def gen_packages_items(): |
| 116 | if os.path.exists(require_fpath): |
no test coverage detected