Corrected the change to the plug-in installation code. 5_3_x

Fri, 23 Aug 2013 09:49:07 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 23 Aug 2013 09:49:07 +0200
branch
5_3_x
changeset 2857
614c63dfb798
parent 2855
df823a1024fa
child 2865
05ddaf1e8d76
child 2869
4eefe7d3a240

Corrected the change to the plug-in installation code.
(grafted from a07f9346e209b3e2ed3d6731e5bd2592429ad2ee)

PluginManager/PluginInstallDialog.py file | annotate | diff | comparison | revisions
--- a/PluginManager/PluginInstallDialog.py	Wed Aug 21 19:49:48 2013 +0200
+++ b/PluginManager/PluginInstallDialog.py	Fri Aug 23 09:49:07 2013 +0200
@@ -441,7 +441,8 @@
         
         # now compile the plugins
         if doCompile:
-            compileall.compile_dir(destination, quiet=True)
+            compileall.compile_dir(os.path.join(destination, packageName), quiet=True)
+            compileall.compile_file(os.path.join(destination, pluginFileName), quiet=True)
         
         if not self.__external:
             # now load and activate the plugin

eric ide

mercurial