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