Generated requirements specified for this Distribution
(self)
| 675 | |
| 676 | @property |
| 677 | def requires(self) -> list[str] | None: |
| 678 | """Generated requirements specified for this Distribution""" |
| 679 | reqs = self._read_dist_info_reqs() or self._read_egg_info_reqs() |
| 680 | return reqs and list(reqs) |
| 681 | |
| 682 | def _read_dist_info_reqs(self): |
| 683 | return self.metadata.get_all('Requires-Dist') |