mac_app.py   mac_app.py 
skipping to change at line 155 skipping to change at line 155
Utility function to be called by processPlugins(). Utility function to be called by processPlugins().
pluginDirectoryName is the name of a plugins subdirectory to copy ov er. pluginDirectoryName is the name of a plugins subdirectory to copy ov er.
''' '''
pluginsDirectory = os.path.join(installDirectory, 'plugins') pluginsDirectory = os.path.join(installDirectory, 'plugins')
toDir = os.path.join(pluginsDirectory, pluginDirectoryName) toDir = os.path.join(pluginsDirectory, pluginDirectoryName)
os.mkdir(toDir) os.mkdir(toDir)
fromDir = os.path.join(qtPluginsDirectory, pluginDirectoryName) fromDir = os.path.join(qtPluginsDirectory, pluginDirectoryName)
for plugin in os.listdir(fromDir): for plugin in os.listdir(fromDir):
# there may be debug versions installed; if so, ignore them # there may be debug versions installed; if so, ignore them
if plugin.find('_debug') is -1: if (plugin.find('_debug') is -1) and (plugin.find('.dSYM') i s -1):
shutil.copy(os.path.join(fromDir, plugin), toDir) shutil.copy(os.path.join(fromDir, plugin), toDir)
# Update all paths # Update all paths
for plugin in os.listdir(toDir): for plugin in os.listdir(toDir):
updateLibraryPath(plugin, 'plugins/' + pluginDirectoryName) updateLibraryPath(plugin, 'plugins/' + pluginDirectoryName)
def processPlugins(): def processPlugins():
''' '''
Copies over and process all Qt plugins. Copies over and process all Qt plugins.
''' '''
#Setup the plugin directory #Setup the plugin directory
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/