(fpath)
| 52 | yield info |
| 53 | |
| 54 | def parse_require_file(fpath): |
| 55 | with open(fpath, 'r') as f: |
| 56 | for line in f.readlines(): |
| 57 | line = line.strip() |
| 58 | if line and not line.startswith('#'): |
| 59 | for info in parse_line(line): |
| 60 | yield info |
| 61 | |
| 62 | def gen_packages_items(): |
| 63 | if exists(require_fpath): |
no test coverage detected