install.py

changeset 2480
30477cebf808
parent 2428
11e6e63a89d0
child 2525
8b507a9a2d40
child 2577
14296525eff5
equal deleted inserted replaced
2478:c4d8d795d356 2480:30477cebf808
1096 # Create a config file and delete the default one 1096 # Create a config file and delete the default one
1097 createConfig() 1097 createConfig()
1098 1098
1099 # Compile .ui files 1099 # Compile .ui files
1100 print("Compiling user interface files...") 1100 print("Compiling user interface files...")
1101 # step 1: remove old Ui_*.py files
1102 for root, _, files in os.walk(sourceDir):
1103 for file in [f for f in files if fnmatch.fnmatch(f, 'Ui_*.py')]:
1104 os.remove(os.path.join(root, file))
1105 # step 2: compile the forms
1101 compileUiFiles() 1106 compileUiFiles()
1102 1107
1103 if doCompile: 1108 if doCompile:
1104 print("\nCompiling source files...") 1109 print("\nCompiling source files...")
1105 if distDir: 1110 if distDir:

eric ide

mercurial