845 |
845 |
846 if doCompile: |
846 if doCompile: |
847 print("\nCompiling source files...") |
847 print("\nCompiling source files...") |
848 if distDir: |
848 if distDir: |
849 compileall.compile_dir(sourceDir, |
849 compileall.compile_dir(sourceDir, |
850 ddir = os.path.join(distDir, modDir, cfg['ericDir']), |
850 ddir = os.path.join(distDir, modDir, cfg['ericDir']), |
851 rx = re.compile(r"DebugClients[\\/]Python[\\/]"), |
851 rx = re.compile(r"DebugClients[\\/]Python[\\/]|UtilitiesPython2[\\/]"), |
852 quiet = True) |
852 quiet = True) |
853 py_compile.compile(configName, |
853 py_compile.compile(configName, |
854 dfile = os.path.join(distDir, modDir, "eric5config.py")) |
854 dfile = os.path.join(distDir, modDir, "eric5config.py")) |
855 else: |
855 else: |
856 compileall.compile_dir(sourceDir, |
856 compileall.compile_dir(sourceDir, |
857 ddir = os.path.join(modDir, cfg['ericDir']), |
857 ddir = os.path.join(modDir, cfg['ericDir']), |
858 rx = re.compile(r"DebugClients[\\/]Python[\\/]"), |
858 rx = re.compile(r"DebugClients[\\/]Python[\\/]|UtilitiesPython2[\\/]"), |
859 quiet = True) |
859 quiet = True) |
860 py_compile.compile(configName, |
860 py_compile.compile(configName, |
861 dfile = os.path.join(modDir, "eric5config.py")) |
861 dfile = os.path.join(modDir, "eric5config.py")) |
862 print("\nInstalling eric5 ...") |
862 print("\nInstalling eric5 ...") |
863 installEric() |
863 installEric() |
864 |
864 |