(path)
| 1517 | |
| 1518 | |
| 1519 | def 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 | |
| 1548 | def buildInstaller(): |
no test coverage detected
searching dependent graphs…