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

Function makeMpkgPlist

Mac/BuildScript/build-installer.py:1519–1545  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

1517
1518
1519def makeMpkgPlist(path):
1520
1521 vers = getFullVersion()
1522 major, minor = getVersionMajorMinor()
1523
1524 pl = dict(
1525 CFBundleGetInfoString="Python %s"%(vers,),
1526 CFBundleIdentifier='org.python.Python',
1527 CFBundleName='Python',
1528 CFBundleShortVersionString=vers,
1529 IFMajorVersion=major,
1530 IFMinorVersion=minor,
1531 IFPkgFlagComponentDirectory="Contents/Packages",
1532 IFPkgFlagPackageList=[
1533 dict(
1534 IFPkgFlagPackageLocation='%s-%s.pkg'%(item['name'], getVersion()),
1535 IFPkgFlagPackageSelection=item.get('selected', 'selected'),
1536 )
1537 for item in pkg_recipes()
1538 ],
1539 IFPkgFormatVersion=0.10000000149011612,
1540 IFPkgFlagBackgroundScaling="proportional",
1541 IFPkgFlagBackgroundAlignment="left",
1542 IFPkgFlagAuthorizationAction="RootAuthorization",
1543 )
1544
1545 writePlist(pl, path)
1546
1547
1548def buildInstaller():

Callers 1

buildInstallerFunction · 0.85

Calls 6

getFullVersionFunction · 0.85
getVersionMajorMinorFunction · 0.85
getVersionFunction · 0.85
pkg_recipesFunction · 0.85
writePlistFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…