MCPcopy Create free account
hub / github.com/ChenhongyiYang/QueryDet-PyTorch / parse_require_file

Function parse_require_file

visdrone_eval/setup.py:58–64  ·  view source on GitHub ↗
(fpath)

Source from the content-addressed store, hash-verified

56 yield info
57
58 def parse_require_file(fpath):
59 with open(fpath, 'r') as f:
60 for line in f.readlines():
61 line = line.strip()
62 if line and not line.startswith('#'):
63 for info in parse_line(line):
64 yield info
65
66 def gen_packages_items():
67 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