scripts/compileUiFiles.py

branch
eric7
changeset 9500
5771348ded12
parent 9221
bf71ee032bb4
child 9653
e67609152c5e
equal deleted inserted replaced
9499:dd389c57c2f0 9500:5771348ded12
30 """ 30 """
31 Compile the .ui files to Python sources. 31 Compile the .ui files to Python sources.
32 """ 32 """
33 if os.path.exists("src"): 33 if os.path.exists("src"):
34 # eric7 with 'src' layout 34 # eric7 with 'src' layout
35 compileUiDir(os.path.join("src", "eric7"), True, __pyName) 35 compileUiDir(os.path.join("src", "eric7"), recurse=True, map=__pyName)
36 elif os.path.exists("eric7"): 36 elif os.path.exists("eric7"):
37 # old layout or invoked from within 'src' 37 # old layout or invoked from within 'src'
38 compileUiDir("eric7", True, __pyName) 38 compileUiDir("eric7", recurse=True, map=__pyName)
39 else: 39 else:
40 print("No valid 'eric7' source layout could be found. Aborting...") 40 print("No valid 'eric7' source layout could be found. Aborting...")
41 41
42 42
43 def main(argv): 43 def main(argv):

eric ide

mercurial