1482 # step 2: compile the forms |
1482 # step 2: compile the forms |
1483 compileUiFiles() |
1483 compileUiFiles() |
1484 |
1484 |
1485 if doCompile: |
1485 if doCompile: |
1486 print("\nCompiling source files ...") |
1486 print("\nCompiling source files ...") |
1487 if sys.version_info[0] == 3: |
|
1488 skipRe = re.compile(r"DebugClients[\\/]Python2[\\/]") |
|
1489 else: |
|
1490 skipRe = re.compile(r"DebugClients[\\/]Python3[\\/]") |
|
1491 # Hide compile errors (mainly because of Py2/Py3 differences) |
1487 # Hide compile errors (mainly because of Py2/Py3 differences) |
|
1488 skipRe = re.compile(r"DebugClients[\\/]Python[\\/]") |
1492 sys.stdout = io.StringIO() |
1489 sys.stdout = io.StringIO() |
1493 if distDir: |
1490 if distDir: |
1494 compileall.compile_dir( |
1491 compileall.compile_dir( |
1495 sourceDir, |
1492 sourceDir, |
1496 ddir=os.path.join(distDir, modDir, cfg['ericDir']), |
1493 ddir=os.path.join(distDir, modDir, cfg['ericDir']), |