Plugin installation time

Issue #142 resolved
Benjamin Jakimow created an issue

The plugin installer need too much time to install the EnMAP-Box. Can we somehow increase speed?

Installation steps in pyplugin_installer/installer.py that require more time than other are:

Line 574: plugins.getAllInstalled()

Line 581: reloadPlugin(pluginName) #needs most time

See also qgis/utils.py

def reloadPlugin(packageName):
    """ unload and start again a plugin """
    global active_plugins
    if packageName not in active_plugins:
        return  # it's not active

    unloadPlugin(packageName)
    loadPlugin(packageName)
    startPlugin(packageName)

Comments (2)

  1. Log in to comment