Fixed a problem with the install script showing up on windows.

Tue, 02 Feb 2010 19:04:48 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 02 Feb 2010 19:04:48 +0000
changeset 98
869a740ea4ee
parent 97
c4086afea02b
child 99
7d7a3cebd905

Fixed a problem with the install script showing up on windows.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Sun Jan 31 18:31:28 2010 +0000
+++ b/install.py	Tue Feb 02 19:04:48 2010 +0000
@@ -744,14 +744,14 @@
         if distDir:
             compileall.compile_dir("eric", 
                                    ddir = os.path.join(distDir, modDir, cfg['ericDir']), 
-                                   rx = re.compile("DebugClients/Python/"), 
+                                   rx = re.compile(r"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("DebugClients/Python/"), 
+                                   rx = re.compile(r"DebugClients[\\/]Python[\\/]"), 
                                    quiet = True)
             py_compile.compile("eric5config.py", 
                                dfile = os.path.join(modDir, "eric5config.py"))

eric ide

mercurial