install-debugclients.py

branch
debugger speed
changeset 5179
5f56410e7624
parent 5145
95947ce71171
child 5389
9b1c800daff3
equal deleted inserted replaced
5178:878ce843ca9f 5179:5f56410e7624
305 sys.stderr.write('Error: {0}\nTry install as root.\n'.format(msg)) 305 sys.stderr.write('Error: {0}\nTry install as root.\n'.format(msg))
306 exit(7) 306 exit(7)
307 307
308 if doCompile: 308 if doCompile:
309 print("\nCompiling source files ...") 309 print("\nCompiling source files ...")
310 if sys.version_info[0] == 3: 310 skipRe = re.compile(r"DebugClients[\\/]Python[\\/]")
311 skipRe = re.compile(r"DebugClients[\\/]Python2[\\/]")
312 else:
313 skipRe = re.compile(r"DebugClients[\\/]Python3[\\/]")
314 # Hide compile errors (mainly because of Py2/Py3 differences) 311 # Hide compile errors (mainly because of Py2/Py3 differences)
315 sys.stdout = io.StringIO() 312 sys.stdout = io.StringIO()
316 if distDir: 313 if distDir:
317 compileall.compile_dir( 314 compileall.compile_dir(
318 os.path.join(sourceDir, "DebugClients"), 315 os.path.join(sourceDir, "DebugClients"),

eric ide

mercurial