Generated requirements specified for this Distribution
(self)
| 590 | |
| 591 | @property |
| 592 | def requires(self) -> Optional[List[str]]: |
| 593 | """Generated requirements specified for this Distribution""" |
| 594 | reqs = self._read_dist_info_reqs() or self._read_egg_info_reqs() |
| 595 | return reqs and list(reqs) |
| 596 | |
| 597 | def _read_dist_info_reqs(self): |
| 598 | return self.metadata.get_all('Requires-Dist') |