MCPcopy Index your code
hub / github.com/python/cpython / installSize

Function installSize

Mac/BuildScript/build-installer.py:1591–1598  ·  view source on GitHub ↗
(clear=False, _saved=[])

Source from the content-addressed store, hash-verified

1589
1590
1591def installSize(clear=False, _saved=[]):
1592 if clear:
1593 del _saved[:]
1594 if not _saved:
1595 data = captureCommand("du -ks %s"%(
1596 shellQuote(os.path.join(WORKDIR, '_root'))))
1597 _saved.append("%d"%((0.5 + (int(data.split()[0]) / 1024.0)),))
1598 return _saved[0]
1599
1600
1601def buildDMG():

Callers 1

patchFileFunction · 0.85

Calls 5

captureCommandFunction · 0.85
shellQuoteFunction · 0.85
joinMethod · 0.45
appendMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…