scripts/install.py

branch
eric7
changeset 9425
b1707793e213
parent 9420
92810aebc909
child 9442
906485dcd210
child 9448
ea215f7afab3
equal deleted inserted replaced
9424:47fcd27ea82e 9425:b1707793e213
884 except OSError as msg: 884 except OSError as msg:
885 sys.stderr.write("Error: {0}\nTry install with admin rights.\n".format(msg)) 885 sys.stderr.write("Error: {0}\nTry install with admin rights.\n".format(msg))
886 return 7 886 return 7
887 887
888 # copy some text files to the doc area 888 # copy some text files to the doc area
889 for name in ["LICENSE.GPL3", "THANKS", "changelog"]: 889 for name in ["LICENSE.GPL3", "THANKS", "changelog.md", "ThirdParty.rst"]:
890 try: 890 try:
891 shutilCopy(os.path.join(sourceDir, "docs", name), cfg["ericDocDir"]) 891 shutilCopy(os.path.join(sourceDir, "docs", name), cfg["ericDocDir"])
892 except OSError: 892 except OSError:
893 print( 893 print(
894 "Could not install '{0}'.".format(os.path.join(sourceDir, "docs", name)) 894 "Could not install '{0}'.".format(os.path.join(sourceDir, "docs", name))

eric ide

mercurial