eric6/PluginManager/PluginInstallDialog.py

changeset 8293
cad568796748
parent 8292
54b48d756b0a
equal deleted inserted replaced
8292:54b48d756b0a 8293:cad568796748
495 os.path.join_unicode = False 495 os.path.join_unicode = False
496 compileall.compile_dir(dirName, quiet=True) 496 compileall.compile_dir(dirName, quiet=True)
497 compileall.compile_file(files, quiet=True) 497 compileall.compile_file(files, quiet=True)
498 os.path.join_unicode = True 498 os.path.join_unicode = True
499 499
500 if not self.__external:
501 # now load and activate the plugin 500 # now load and activate the plugin
502 self.__pluginManager.loadPlugin(installedPluginName, destination, 501 self.__pluginManager.loadPlugin(
503 reload_) 502 installedPluginName, destination, reload_=reload_, install=True)
504 if activatePlugin: 503 if activatePlugin and not self.__external:
505 self.__pluginManager.activatePlugin(installedPluginName) 504 self.__pluginManager.activatePlugin(installedPluginName)
506 505
507 return True, "", needsRestart 506 return True, "", needsRestart
508 507
509 def __rollback(self): 508 def __rollback(self):
510 """ 509 """

eric ide

mercurial