29 if not os.path.isdir(settingsDir): |
29 if not os.path.isdir(settingsDir): |
30 os.makedirs(settingsDir) |
30 os.makedirs(settingsDir) |
31 QSettings.setPath( |
31 QSettings.setPath( |
32 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir) |
32 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir) |
33 sys.argv.remove(arg) |
33 sys.argv.remove(arg) |
34 |
|
35 # make ThirdParty package available as a packages repository |
|
36 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
|
37 "ThirdParty", "Pygments")) |
|
38 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
|
39 "ThirdParty", "EditorConfig")) |
|
40 |
34 |
41 from Globals import AppInfo |
35 from Globals import AppInfo |
42 |
36 |
43 from Toolbox import Startup |
37 from Toolbox import Startup |
44 |
38 |