diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/eric7_editor.py --- a/src/eric7/eric7_editor.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/eric7_editor.py Tue Oct 18 16:06:21 2022 +0200 @@ -15,11 +15,9 @@ import sys import os -sys.path.insert(1, os.path.dirname(__file__)) - for arg in sys.argv[:]: if arg.startswith("--config="): - import Globals + from eric7 import Globals configDir = arg.replace("--config=", "") Globals.setConfigDir(configDir) @@ -35,9 +33,9 @@ ) sys.argv.remove(arg) -from Globals import AppInfo +from eric7.Globals import AppInfo -from Toolbox import Startup +from eric7.Toolbox import Startup def createMainWidget(argv): @@ -47,7 +45,7 @@ @param argv list of commandline parameters (list of strings) @return reference to the main widget (QWidget) """ - from QScintilla.MiniEditor import MiniEditor + from eric7.QScintilla.MiniEditor import MiniEditor if len(argv) > 1: return MiniEditor(argv[1])