eric5_webbrowser.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2791
a9577f248f04
parent 2992
dbdf27746da5
child 3060
5883ce99ee12
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
3 3
4 # Copyright (c) 2002 - 2013 Detlev Offenbach <detlev@die-offenbachs.de> 4 # Copyright (c) 2002 - 2013 Detlev Offenbach <detlev@die-offenbachs.de>
5 # 5 #
6 6
7 """ 7 """
8 Eric5 Web Browser 8 Eric5 Web Browser.
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 web browser and starts the Qt event loop. This is a standalone version 11 of the web browser and starts the Qt event loop. This is a standalone version
12 of the integrated helpviewer. 12 of the integrated helpviewer.
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 import Globals 39 import Globals
39 from Globals import AppInfo 40 from Globals import AppInfo
40 41
41 from Toolbox import Startup 42 from Toolbox import Startup

eric ide

mercurial