diff --git a/ext/toolchain/commands1.py b/ext/toolchain/commands1.py index 5ef00d2d..eff8b904 100644 --- a/ext/toolchain/commands1.py +++ b/ext/toolchain/commands1.py @@ -739,6 +739,16 @@ class InternalCommands: shutil.copy(targetDir + "/synergys", bundleBinDir) shutil.copy(targetDir + "/syntool", bundleBinDir) + # Copy all generated plugins to the package + bundlePluginDir = bundleBinDir + "plugins" + pluginDir = targetDir + "/plugins" + print "Copying plugins dirtree: " + pluginDir + if os.path.isdir(pluginDir): + print "Copying to: " + bundlePluginDir + shutil.copytree(pluginDir, bundlePluginDir) + else: + print "pluginDir doesn't exist, skipping" + self.loadConfig() if not self.macIdentity: raise Exception("run config with --mac-identity")