scripts/install.py

branch
eric7
changeset 9680
4acdf7c7101d
parent 9679
22314ef6d754
child 9690
2dc33116df50
equal deleted inserted replaced
9679:22314ef6d754 9680:4acdf7c7101d
886 except OSError as msg: 886 except OSError as msg:
887 sys.stderr.write("Error: {0}\nTry install with admin rights.\n".format(msg)) 887 sys.stderr.write("Error: {0}\nTry install with admin rights.\n".format(msg))
888 return 7 888 return 7
889 889
890 # copy some text files to the doc area 890 # copy some text files to the doc area
891 for name in ["LICENSE.txt", "THANKS", "changelog.md", "ThirdParty.rst"]: 891 for name in ["LICENSE.txt", "THANKS", "changelog.md", "ThirdParty.md"]:
892 try: 892 try:
893 shutilCopy(os.path.join(sourceDir, "docs", name), cfg["ericDocDir"]) 893 shutilCopy(os.path.join(sourceDir, "docs", name), cfg["ericDocDir"])
894 except OSError: 894 except OSError:
895 print( 895 print(
896 "Could not install '{0}'.".format(os.path.join(sourceDir, "docs", name)) 896 "Could not install '{0}'.".format(os.path.join(sourceDir, "docs", name))

eric ide

mercurial