elif len(platforms) == 0: s.buildAll(outputDir) else: for platform in platforms: if platform.startswith("win"): s.build( Filename(outputDir, platform + "/" + shortname + ".exe"), platform) else: s.build(Filename(outputDir, platform + "/" + shortname), platform) elif deploy_mode == 'installer': if includeRequires: tokens["verify_contents"] = "never" i = Installer(appFilename, shortname, fullname, version, tokens=tokens) i.includeRequires = includeRequires if omitDefaultCheckboxes: i.offerRun = False i.offerDesktopShortcut = False i.licensename = licensename i.licensefile = licensefile if authorid: i.authorid = authorid if authorname: i.authorname = authorname if authoremail: i.authoremail = authoremail if not authorname or not authoremail or not authorid: print("Using author \"%s\" <%s> with ID %s" % \ (i.authorname, i.authoremail, i.authorid))
s.build(Filename(outputDir, shortname + ".exe"), platform) else: s.build(Filename(outputDir, shortname), platform) elif len(platforms) == 0: s.buildAll(outputDir) else: for platform in platforms: if platform.startswith("win"): s.build(Filename(outputDir, platform + "/" + shortname + ".exe"), platform) else: s.build(Filename(outputDir, platform + "/" + shortname), platform) elif deploy_mode == 'installer': if includeRequires: tokens["verify_contents"] = "never" i = Installer(appFilename, shortname, fullname, version, tokens = tokens) i.includeRequires = includeRequires if omitDefaultCheckboxes: i.offerRun = False i.offerDesktopShortcut = False i.licensename = licensename i.licensefile = licensefile if authorid: i.authorid = authorid if authorname: i.authorname = authorname if authoremail: i.authoremail = authoremail if not authorname or not authoremail or not authorid: print "Using author \"%s\" <%s> with ID %s" % \ (i.authorname, i.authoremail, i.authorid)
s.build(Filename(outputDir, shortname + ".exe"), platform) else: s.build(Filename(outputDir, shortname), platform) elif len(platforms) == 0: s.buildAll(outputDir) else: for platform in platforms: if platform.startswith("win"): s.build(Filename(outputDir, platform + "/" + shortname + ".exe"), platform) else: s.build(Filename(outputDir, platform + "/" + shortname), platform) elif deploy_mode == "installer": if includeRequires: tokens["verify_contents"] = "never" i = Installer(appFilename, shortname, fullname, version, tokens=tokens) i.includeRequires = includeRequires i.licensename = licensename i.licensefile = licensefile if authorid: i.authorid = authorid if authorname: i.authorname = authorname if authoremail: i.authoremail = authoremail if not authorname or not authoremail or not authorid: print 'Using author "%s" <%s> with ID %s' % (i.authorname, i.authoremail, i.authorid) # Add the supplied icon images if len(iconFiles) > 0: failed = False
elif len(platforms) == 0: s.buildAll(outputDir) else: for platform in platforms: if platform.startswith("win"): s.build( Filename(outputDir, platform + "/" + shortname + ".exe"), platform) else: s.build(Filename(outputDir, platform + "/" + shortname), platform) elif deploy_mode == 'installer': if includeRequires: tokens["verify_contents"] = "never" i = Installer(appFilename, shortname, fullname, version, tokens=tokens) i.includeRequires = includeRequires i.licensename = licensename i.licensefile = licensefile if authorid: i.authorid = authorid if authorname: i.authorname = authorname if authoremail: i.authoremail = authoremail if not authorname or not authoremail or not authorid: print "Using author \"%s\" <%s> with ID %s" % \ (i.authorname, i.authoremail, i.authorid) if currentPlatform: platform = PandaSystem.getPlatform()