(fpath)
| 138 | yield info |
| 139 | |
| 140 | def parse_require_file(fpath): |
| 141 | with open(fpath, 'r') as f: |
| 142 | for line in f.readlines(): |
| 143 | line = line.strip() |
| 144 | if line and not line.startswith('#'): |
| 145 | for info in parse_line(line): |
| 146 | yield info |
| 147 | |
| 148 | def gen_packages_items(): |
| 149 | if exists(require_fpath): |
no test coverage detected