MCPcopy Create free account
hub / github.com/SegmentationBLWX/cssegmentation / parserequirefile

Function parserequirefile

setup.py:49–55  ·  view source on GitHub ↗
(fpath)

Source from the content-addressed store, hash-verified

47 yield info
48 '''parserequirefile'''
49 def parserequirefile(fpath):
50 with open(fpath, 'r') as f:
51 for line in f.readlines():
52 line = line.strip()
53 if line and not line.startswith('#'):
54 for info in parseline(line):
55 yield info
56 '''genpackagesitems'''
57 def genpackagesitems():
58 if os.path.exists(require_fpath):

Callers 2

parselineFunction · 0.85
genpackagesitemsFunction · 0.85

Calls 1

parselineFunction · 0.85

Tested by

no test coverage detected