Changed RegEx to be independent from Python version. debugger speed

Mon, 26 Sep 2016 21:55:40 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Mon, 26 Sep 2016 21:55:40 +0200
branch
debugger speed
changeset 5180
9eba139a2756
parent 5179
5f56410e7624
child 5183
f7037c006edf

Changed RegEx to be independent from Python version.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Sat Sep 24 22:52:13 2016 +0200
+++ b/install.py	Mon Sep 26 21:55:40 2016 +0200
@@ -1484,11 +1484,8 @@
     
     if doCompile:
         print("\nCompiling source files ...")
-        if sys.version_info[0] == 3:
-            skipRe = re.compile(r"DebugClients[\\/]Python2[\\/]")
-        else:
-            skipRe = re.compile(r"DebugClients[\\/]Python3[\\/]")
         # Hide compile errors (mainly because of Py2/Py3 differences)
+        skipRe = re.compile(r"DebugClients[\\/]Python[\\/]")
         sys.stdout = io.StringIO()
         if distDir:
             compileall.compile_dir(

eric ide

mercurial