1207 "exe": "{0}/{1}/Contents/MacOS".format( |
1207 "exe": "{0}/{1}/Contents/MacOS".format( |
1208 macAppBundlePath, macAppBundleName), |
1208 macAppBundlePath, macAppBundleName), |
1209 "icns": "{0}/{1}/Contents/Resources".format( |
1209 "icns": "{0}/{1}/Contents/Resources".format( |
1210 macAppBundlePath, macAppBundleName) |
1210 macAppBundlePath, macAppBundleName) |
1211 } |
1211 } |
1212 for directory in directories: |
1212 for directory in directories.values(): |
1213 if not os.path.exists(directory): |
1213 if not os.path.exists(directory): |
1214 os.makedirs(directory) |
1214 os.makedirs(directory) |
1215 |
1215 |
1216 if macPythonExe == defaultMacPythonExe: |
1216 if macPythonExe == defaultMacPythonExe: |
1217 starter = os.path.join(directories["exe"], "eric") |
1217 starter = os.path.join(directories["exe"], "eric") |