install.py

changeset 796
a6175e238484
parent 791
9ec2ac20e54e
child 837
10547522aa98
equal deleted inserted replaced
795:917f1945355c 796:a6175e238484
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

eric ide

mercurial