install.py

changeset 796
a6175e238484
parent 791
9ec2ac20e54e
child 837
10547522aa98
--- a/install.py	Sat Jan 01 18:04:43 2011 +0100
+++ b/install.py	Sat Jan 01 18:20:21 2011 +0100
@@ -847,16 +847,16 @@
         print("\nCompiling source files...")
         if distDir:
             compileall.compile_dir(sourceDir, 
-                                   ddir = os.path.join(distDir, modDir, cfg['ericDir']), 
-                                   rx = re.compile(r"DebugClients[\\/]Python[\\/]"), 
-                                   quiet = True)
+                ddir = os.path.join(distDir, modDir, cfg['ericDir']), 
+                rx = re.compile(r"DebugClients[\\/]Python[\\/]|UtilitiesPython2[\\/]"), 
+                quiet = True)
             py_compile.compile(configName, 
                                dfile = os.path.join(distDir, modDir, "eric5config.py"))
         else:
             compileall.compile_dir(sourceDir, 
-                                   ddir = os.path.join(modDir, cfg['ericDir']), 
-                                   rx = re.compile(r"DebugClients[\\/]Python[\\/]"), 
-                                   quiet = True)
+                ddir = os.path.join(modDir, cfg['ericDir']), 
+                rx = re.compile(r"DebugClients[\\/]Python[\\/]|UtilitiesPython2[\\/]"), 
+                quiet = True)
             py_compile.compile(configName, 
                                dfile = os.path.join(modDir, "eric5config.py"))
     print("\nInstalling eric5 ...")

eric ide

mercurial