MCPcopy Create free account
hub / github.com/python/cpython / _deps_from_requires_text

Method _deps_from_requires_text

Lib/importlib/metadata/__init__.py:690–691  ·  view source on GitHub ↗
(cls, source)

Source from the content-addressed store, hash-verified

688
689 @classmethod
690 def _deps_from_requires_text(cls, source):
691 return cls._convert_egg_info_reqs_to_simple_reqs(Sectioned.read(source))
692
693 @staticmethod
694 def _convert_egg_info_reqs_to_simple_reqs(sections):

Calls 2

readMethod · 0.45

Tested by 1