install.py

changeset 21
b88a0e6268bd
parent 15
f6ccc31d6e72
child 40
c2e5472b112c
--- a/install.py	Wed Jan 06 18:12:19 2010 +0000
+++ b/install.py	Wed Jan 06 18:14:15 2010 +0000
@@ -475,7 +475,7 @@
     except KeyError:
         pass
 
-    raise AttributeError, '"%%s" is not a valid configuration value' %% name
+    raise AttributeError('"%%s" is not a valid configuration value' %% name)
 """ % (cfg['ericDir'], cfg['ericPixDir'], cfg['ericIconDir'], 
        cfg['ericDTDDir'], cfg['ericCSSDir'], 
        cfg['ericStylesDir'], cfg['ericDocDir'],
@@ -733,14 +733,14 @@
         if distDir:
             compileall.compile_dir("eric", 
                                    ddir = os.path.join(distDir, modDir, cfg['ericDir']), 
-                                   rx = re.compile("Python3"), 
+                                   rx = re.compile("DebugClients/Python/"), 
                                    quiet = True)
             py_compile.compile("eric5config.py", 
                                dfile = os.path.join(distDir, modDir, "eric5config.py"))
         else:
             compileall.compile_dir("eric", 
                                    ddir = os.path.join(modDir, cfg['ericDir']), 
-                                   rx = re.compile("Python3"), 
+                                   rx = re.compile("DebugClients/Python/"), 
                                    quiet = True)
             py_compile.compile("eric5config.py", 
                                dfile = os.path.join(modDir, "eric5config.py"))
@@ -797,4 +797,4 @@
         print("""An internal error occured.  Please report all the output of the program,
 including the following traceback, to eric5-bugs@eric-ide.python-projects.org.
 """)
-        raise
\ No newline at end of file
+        raise

eric ide

mercurial