eric6/eric6_pluginuninstall.py

branch
setup.py
changeset 6949
a5255f1ba3f0
parent 6942
2602857055c5
child 7192
a22eee00b052
--- a/eric6/eric6_pluginuninstall.py	Sun Apr 14 19:29:24 2019 +0200
+++ b/eric6/eric6_pluginuninstall.py	Mon Apr 15 19:53:29 2019 +0200
@@ -13,6 +13,11 @@
 
 from __future__ import unicode_literals
 
+import sys
+import os
+
+sys.path.insert(1, os.path.dirname(__file__))
+
 import Toolbox.PyQt4ImportHook  # __IGNORE_WARNING__
 
 try:  # Only for Py2
@@ -20,9 +25,6 @@
 except (ImportError):
     pass
 
-import sys
-import os
-
 for arg in sys.argv[:]:
     if arg.startswith("--config="):
         import Globals

eric ide

mercurial