MCPcopy Create free account
hub / github.com/Kaggle/docker-python / get_dependencies

Function get_dependencies

tools/pip_list_versions.py:29–34  ·  view source on GitHub ↗
(show_stdout)

Source from the content-addressed store, hash-verified

27 return "not found"
28
29def get_dependencies(show_stdout):
30 for line in show_stdout.split("\n"):
31 m = re.match(r"^Requires:\s(?P<requires>.+)$", line)
32 if m:
33 return m.group('requires').split(', ')
34 return []
35
36
37if __name__ == "__main__":

Callers 1

pip_showFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected