210 ["*.py", "*.pyc", "*.pyo", "*.pyw"], |
210 ["*.py", "*.pyc", "*.pyo", "*.pyw"], |
211 excludePatterns=["eric7config.py*"], |
211 excludePatterns=["eric7config.py*"], |
212 ) |
212 ) |
213 |
213 |
214 # copy the license file |
214 # copy the license file |
215 shutilCopy(os.path.join(sourceDir, "docs", "LICENSE.GPL3"), targetDir) |
215 shutilCopy(os.path.join(sourceDir, "docs", "LICENSE.txt"), targetDir) |
216 |
216 |
217 except OSError as msg: |
217 except OSError as msg: |
218 sys.stderr.write("Error: {0}\nTry install with admin rights.\n".format(msg)) |
218 sys.stderr.write("Error: {0}\nTry install with admin rights.\n".format(msg)) |
219 return 7 |
219 return 7 |
220 |
220 |