3 |
3 |
4 # Copyright (c) 2007 - 2013 Detlev Offenbach <detlev@die-offenbachs.de> |
4 # Copyright (c) 2007 - 2013 Detlev Offenbach <detlev@die-offenbachs.de> |
5 # |
5 # |
6 |
6 |
7 """ |
7 """ |
8 Eric5 Editor |
8 Eric5 Editor. |
9 |
9 |
10 This is the main Python script that performs the necessary initialization |
10 This is the main Python script that performs the necessary initialization |
11 of the MiniEditor module and starts the Qt event loop. This is a standalone |
11 of the MiniEditor module and starts the Qt event loop. This is a standalone |
12 version of the integrated MiniEditor module. |
12 version of the integrated MiniEditor module. |
13 """ |
13 """ |
31 Globals.setConfigDir(configDir) |
31 Globals.setConfigDir(configDir) |
32 sys.argv.remove(arg) |
32 sys.argv.remove(arg) |
33 break |
33 break |
34 |
34 |
35 # make ThirdParty package available as a packages repository |
35 # make ThirdParty package available as a packages repository |
36 sys.path.insert(2, os.path.join(os.path.dirname(__file__), "ThirdParty", "Pygments")) |
36 sys.path.insert(2, os.path.join(os.path.dirname(__file__), |
|
37 "ThirdParty", "Pygments")) |
37 |
38 |
38 from Globals import AppInfo |
39 from Globals import AppInfo |
39 |
40 |
40 from Toolbox import Startup |
41 from Toolbox import Startup |
41 |
42 |