eric5_configure.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2677
3d4277929fb3
parent 2992
dbdf27746da5
child 3060
5883ce99ee12
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
3 3
4 # Copyright (c) 2006 - 2013 Detlev Offenbach <detlev@die-offenbachs.de> 4 # Copyright (c) 2006 - 2013 Detlev Offenbach <detlev@die-offenbachs.de>
5 # 5 #
6 6
7 """ 7 """
8 Eric5 Configure 8 Eric5 Configure.
9 9
10 This is the main Python script to configure the eric5 IDE from the outside. 10 This is the main Python script to configure the eric5 IDE from the outside.
11 """ 11 """
12 12
13 from __future__ import unicode_literals # __IGNORE_WARNING__ 13 from __future__ import unicode_literals # __IGNORE_WARNING__
29 Globals.setConfigDir(configDir) 29 Globals.setConfigDir(configDir)
30 sys.argv.remove(arg) 30 sys.argv.remove(arg)
31 break 31 break
32 32
33 # make ThirdParty package available as a packages repository 33 # make ThirdParty package available as a packages repository
34 sys.path.insert(2, os.path.join(os.path.dirname(__file__), "ThirdParty", "Pygments")) 34 sys.path.insert(2, os.path.join(os.path.dirname(__file__),
35 "ThirdParty", "Pygments"))
35 36
36 from Globals import AppInfo 37 from Globals import AppInfo
37 38
38 from Toolbox import Startup 39 from Toolbox import Startup
39 40

eric ide

mercurial