128 compileUiDir("eric7", recurse=True, mapFunc=__pyName, workers=0) |
128 compileUiDir("eric7", recurse=True, mapFunc=__pyName, workers=0) |
129 else: |
129 else: |
130 print("No valid 'eric7' source layout could be found. Aborting...") |
130 print("No valid 'eric7' source layout could be found. Aborting...") |
131 |
131 |
132 |
132 |
133 def main(argv): |
133 def main(): |
134 """ |
134 """ |
135 The main function of the script. |
135 The main function of the script. |
136 |
|
137 @param argv the list of command line arguments. |
|
138 """ |
136 """ |
139 # Compile .ui files |
137 # Compile .ui files |
140 print("Compiling user interface files...") |
138 print("Compiling user interface files...") |
141 compileUiFiles() |
139 compileUiFiles() |
142 |
140 |
143 |
141 |
144 if __name__ == "__main__": |
142 if __name__ == "__main__": |
145 try: |
143 try: |
146 main(sys.argv) |
144 main() |
147 except SystemExit: |
145 except SystemExit: |
148 raise |
146 raise |
149 except Exception: |
147 except Exception: |
150 print( |
148 print( |
151 "\nAn internal error occured. Please report all the output of the" |
149 "\nAn internal error occured. Please report all the output of the" |