Corrected the install script to not compile the UtilitiesPython2 package.

Sat, 01 Jan 2011 18:20:21 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 01 Jan 2011 18:20:21 +0100
changeset 796
a6175e238484
parent 795
917f1945355c
child 798
5c1786fad576

Corrected the install script to not compile the UtilitiesPython2 package.

install.py file | annotate | diff | comparison | revisions
--- 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