9472:5798ee4a8807 | 9473:3f23dbf37dbe |
---|---|
9 | 9 |
10 This is the main Python script to install eric plugins from outside of the | 10 This is the main Python script to install eric plugins from outside of the |
11 IDE. | 11 IDE. |
12 """ | 12 """ |
13 | 13 |
14 import os | |
14 import sys | 15 import sys |
15 import os | |
16 | 16 |
17 for arg in sys.argv[:]: | 17 for arg in sys.argv[:]: |
18 if arg.startswith("--config="): | 18 if arg.startswith("--config="): |
19 from eric7 import Globals | 19 from eric7 import Globals |
20 | 20 |
31 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir | 31 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir |
32 ) | 32 ) |
33 sys.argv.remove(arg) | 33 sys.argv.remove(arg) |
34 | 34 |
35 from eric7.Globals import AppInfo | 35 from eric7.Globals import AppInfo |
36 | |
37 from eric7.Toolbox import Startup | 36 from eric7.Toolbox import Startup |
38 | 37 |
39 | 38 |
40 def createMainWidget(argv): | 39 def createMainWidget(argv): |
41 """ | 40 """ |