install-i18n.py

changeset 6303
ec9ebaf206fb
parent 6187
2cc7e3629784
child 6645
ad476851d7e0
equal deleted inserted replaced
6302:8bef84b53fbe 6303:ec9ebaf206fb
27 """ 27 """
28 Global function to get the name of the directory storing the config data. 28 Global function to get the name of the directory storing the config data.
29 29
30 @return directory name of the config dir (string) 30 @return directory name of the config dir (string)
31 """ 31 """
32 if sys.platform.startswith("win"): 32 cdn = ".eric6"
33 cdn = "_eric6" 33
34 else:
35 cdn = ".eric6"
36
37 hp = os.path.join(os.path.expanduser("~"), cdn) 34 hp = os.path.join(os.path.expanduser("~"), cdn)
38 if not os.path.exists(hp): 35 if not os.path.exists(hp):
39 os.mkdir(hp) 36 os.mkdir(hp)
40 return hp 37 return hp
41 38

eric ide

mercurial