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