Parse package data from a PKG-INFO file and other manifests present in neighboring files as needed when an installed layout is found.
(cls, location, package_only=False)
| 93 | |
| 94 | @classmethod |
| 95 | def parse(cls, location, package_only=False): |
| 96 | """ |
| 97 | Parse package data from a PKG-INFO file and other manifests present in |
| 98 | neighboring files as needed when an installed layout is found. |
| 99 | """ |
| 100 | yield parse_metadata( |
| 101 | location=location, |
| 102 | datasource_id=cls.datasource_id, |
| 103 | package_type=cls.default_package_type, |
| 104 | package_only=package_only, |
| 105 | ) |
| 106 | |
| 107 | @classmethod |
| 108 | def assign_package_to_resources(cls, package, resource, codebase, package_adder): |
nothing calls this directly
no test coverage detected