390 if os.path.exists(configName + 'c'): |
390 if os.path.exists(configName + 'c'): |
391 shutil.copy(configName + 'c', modDir) |
391 shutil.copy(configName + 'c', modDir) |
392 |
392 |
393 # copy the various parts of eric5 |
393 # copy the various parts of eric5 |
394 copyTree(sourceDir, cfg['ericDir'], ['*.py', '*.pyc', '*.pyo', '*.pyw'], |
394 copyTree(sourceDir, cfg['ericDir'], ['*.py', '*.pyc', '*.pyo', '*.pyw'], |
395 ['{1}{0}Examples'.format(os.sep, sourceDir)], |
395 ['{1}{0}Examples'.format(os.sep, sourceDir)], |
396 excludePatterns=["eric5config.py*"]) |
396 excludePatterns=["eric5config.py*"]) |
397 copyTree(sourceDir, cfg['ericDir'], ['*.rb'], |
397 copyTree(sourceDir, cfg['ericDir'], ['*.rb'], |
398 ['{1}{0}Examples'.format(os.sep, sourceDir)]) |
398 ['{1}{0}Examples'.format(os.sep, sourceDir)]) |
399 copyTree('{1}{0}Plugins'.format(os.sep, sourceDir), |
399 copyTree('{1}{0}Plugins'.format(os.sep, sourceDir), |
400 '{0}{1}Plugins'.format(cfg['ericDir'], os.sep), |
400 '{0}{1}Plugins'.format(cfg['ericDir'], os.sep), |