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)) |