()
| 60 | yield info |
| 61 | |
| 62 | def gen_packages_items(): |
| 63 | if exists(require_fpath): |
| 64 | for info in parse_require_file(require_fpath): |
| 65 | parts = [info['package']] |
| 66 | if with_version and 'version' in info: |
| 67 | parts.extend(info['version']) |
| 68 | if not sys.version.startswith('3.4'): |
| 69 | # apparently package_deps are broken in 3.4 |
| 70 | platform_deps = info.get('platform_deps') |
| 71 | if platform_deps is not None: |
| 72 | parts.append(';' + platform_deps) |
| 73 | item = ''.join(parts) |
| 74 | yield item |
| 75 | |
| 76 | packages = list(gen_packages_items()) |
| 77 | return packages |
no test coverage detected