scripts/install.py

branch
eric7
changeset 9679
22314ef6d754
parent 9674
43dd357b3bff
child 9680
4acdf7c7101d
equal deleted inserted replaced
9678:32ddecc54baf 9679:22314ef6d754
2158 print( 2158 print(
2159 "The configuration dictionary in '{0}' is" 2159 "The configuration dictionary in '{0}' is"
2160 " incorrect. Aborting".format(arg) 2160 " incorrect. Aborting".format(arg)
2161 ) 2161 )
2162 exit(6) 2162 exit(6)
2163 except Exception: 2163 except Exception as exc:
2164 print(
2165 "The configuration file '{0}' is not valid Python source."
2166 " It will be ignored. Installation will be performed with"
2167 " defaults.".format(arg)
2168 )
2169 print("ERROR: {0}".format(str(exc)))
2164 cfg = {} 2170 cfg = {}
2165 elif opt == "-m": 2171 elif opt == "-m":
2166 macAppBundleName = arg 2172 macAppBundleName = arg
2167 elif opt == "-n": 2173 elif opt == "-n":
2168 macAppBundlePath = arg 2174 macAppBundlePath = arg

eric ide

mercurial