scripts/install.py

branch
eric7
changeset 11043
8cfceca767e1
parent 11022
95c889f18a21
child 11053
5f044e09aba5
equal deleted inserted replaced
11042:d6fce9475dfa 11043:8cfceca767e1
758 try: 758 try:
759 # Install the files 759 # Install the files
760 # make the install directories 760 # make the install directories
761 for key in cfg: 761 for key in cfg:
762 if cfg[key] and not os.path.isdir(cfg[key]): 762 if cfg[key] and not os.path.isdir(cfg[key]):
763 os.makedirs(cfg[key]) 763 try:
764 os.makedirs(cfg[key])
765 except OSError:
766 if key != "apidir":
767 raise
764 768
765 # copy the eric config file 769 # copy the eric config file
766 if distDir: 770 if distDir:
767 shutilCopy(configName, cfg["mdir"]) 771 shutilCopy(configName, cfg["mdir"])
768 if os.path.exists(configName + "c"): 772 if os.path.exists(configName + "c"):

eric ide

mercurial