install-i18n.py

branch
maintenance
changeset 6319
df201b9fbad4
parent 6303
ec9ebaf206fb
child 6645
ad476851d7e0
equal deleted inserted replaced
6274:44249d49d892 6319:df201b9fbad4
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