src/eric7/eric7_configure.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9413
80c06d472826
child 9482
a2bc06a54d9d
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
8 eric Configure. 8 eric Configure.
9 9
10 This is the main Python script to configure the eric IDE from the outside. 10 This is the main Python script to configure the eric IDE from the outside.
11 """ 11 """
12 12
13 import os
13 import sys 14 import sys
14 import os
15 15
16 for arg in sys.argv[:]: 16 for arg in sys.argv[:]:
17 if arg.startswith("--config="): 17 if arg.startswith("--config="):
18 from eric7 import Globals 18 from eric7 import Globals
19 19
30 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir 30 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir
31 ) 31 )
32 sys.argv.remove(arg) 32 sys.argv.remove(arg)
33 33
34 from eric7.Globals import AppInfo 34 from eric7.Globals import AppInfo
35
36 from eric7.Toolbox import Startup 35 from eric7.Toolbox import Startup
37 36
38 37
39 def createMainWidget(argv): 38 def createMainWidget(argv):
40 """ 39 """

eric ide

mercurial