()
| 80 | yield info |
| 81 | |
| 82 | def gen_packages_items(): |
| 83 | if exists(require_fpath): |
| 84 | for info in parse_require_file(require_fpath): |
| 85 | parts = [info['package']] |
| 86 | if with_version and 'version' in info: |
| 87 | parts.extend(info['version']) |
| 88 | if not sys.version.startswith('3.4'): |
| 89 | # apparently package_deps are broken in 3.4 |
| 90 | platform_deps = info.get('platform_deps') |
| 91 | if platform_deps is not None: |
| 92 | parts.append(';' + platform_deps) |
| 93 | item = ''.join(parts) |
| 94 | yield item |
| 95 | |
| 96 | packages = list(gen_packages_items()) |
| 97 | return packages |
no test coverage detected