Return a list of DependentPackage found in a ``dist`` Distribution object or an empty list.
(dist)
| 2164 | |
| 2165 | |
| 2166 | def get_dist_dependencies(dist): |
| 2167 | """ |
| 2168 | Return a list of DependentPackage found in a ``dist`` Distribution object or |
| 2169 | an empty list. |
| 2170 | """ |
| 2171 | # we treat extras as scopes |
| 2172 | # TODO: use these for verification? |
| 2173 | scopes = dist.metadata.get_all('Provides-Extra') or [] |
| 2174 | return get_requires_dependencies(requires=dist.requires) |
| 2175 | |
| 2176 | |
| 2177 | def get_requires_dependencies( |
no test coverage detected