--- a/scripts/install.py Thu Sep 24 19:51:19 2020 +0200 +++ b/scripts/install.py Sat Sep 26 10:58:18 2020 +0200 @@ -748,7 +748,6 @@ shutilCopy(configName + 'c', modDir) # copy the various parts of eric6 - # TODO: extend this to include more data file to get rid of .qrc copyTree( eric6SourceDir, cfg['ericDir'], ['*.py', '*.pyc', '*.pyo', '*.pyw'], @@ -792,6 +791,24 @@ cfg['ericCodeTemplatesDir'], ['*.tmpl']) + # copy some data files needed at various places + copyTree( + os.path.join(eric6SourceDir, "E5Network", "data"), + os.path.join(cfg['ericDir'], "E5Network", "data"), + ['*.dat', '*.txt']) + copyTree( + os.path.join(eric6SourceDir, "IconEditor", "cursors"), + os.path.join(cfg['ericDir'], "IconEditor", "cursors"), + ['*.xpm']) + copyTree( + os.path.join(eric6SourceDir, "UI", "data"), + os.path.join(cfg['ericDir'], "UI", "data"), + ['*.css']) + copyTree( + os.path.join(eric6SourceDir, "WebBrowser"), + os.path.join(cfg['ericDir'], "WebBrowser"), + ['*.xbel', '*.xml', '*.html', '*.png', '*.gif', '*.js']) + # copy the wrappers for wname in wnames: shutilCopy(wname, cfg['bindir'], perm=0o755)