install.py

changeset 3003
cb43c34239b1
parent 2992
dbdf27746da5
child 3019
7912530a33e2
child 3057
10516539f238
--- a/install.py	Thu Oct 10 18:35:45 2013 +0200
+++ b/install.py	Thu Oct 10 18:40:16 2013 +0200
@@ -387,10 +387,10 @@
                 os.remove(f)
             
         # Cleanup the install directories
-        for name in ['ericExamplesDir', 'ericDocDir', 'ericDTDDir', 'ericCSSDir',
-                     'ericIconDir', 'ericPixDir', 'ericTemplatesDir',
-                     'ericCodeTemplatesDir', 'ericOthersDir', 'ericStylesDir',
-                     'ericDir']:
+        for name in ['ericExamplesDir', 'ericDocDir', 'ericDTDDir',
+                     'ericCSSDir', 'ericIconDir', 'ericPixDir',
+                     'ericTemplatesDir', 'ericCodeTemplatesDir',
+                     'ericOthersDir', 'ericStylesDir', 'ericDir']:
             if os.path.exists(getConfig(name)):
                 shutil.rmtree(getConfig(name), True)
         
@@ -496,7 +496,8 @@
                 shutilCopy(configName + 'c', modDir)
         
         # copy the various parts of eric5
-        copyTree(sourceDir, cfg['ericDir'], ['*.py', '*.pyc', '*.pyo', '*.pyw'],
+        copyTree(sourceDir, cfg['ericDir'],
+                 ['*.py', '*.pyc', '*.pyo', '*.pyw'],
             ['{1}{0}Examples'.format(os.sep, sourceDir)],
             excludePatterns=["eric5config.py*"])
         copyTree(sourceDir, cfg['ericDir'], ['*.rb'],

eric ide

mercurial