MCPcopy Create free account
hub / github.com/InternRobotics/EmbodiedScan / parse_require_file

Function parse_require_file

setup.py:54–60  ·  view source on GitHub ↗
(fpath)

Source from the content-addressed store, hash-verified

52 yield info
53
54 def parse_require_file(fpath):
55 with open(fpath, 'r') as f:
56 for line in f.readlines():
57 line = line.strip()
58 if line and not line.startswith('#'):
59 for info in parse_line(line):
60 yield info
61
62 def gen_packages_items():
63 if exists(require_fpath):

Callers 2

parse_lineFunction · 0.85
gen_packages_itemsFunction · 0.85

Calls 1

parse_lineFunction · 0.85

Tested by

no test coverage detected