1054 "exe": "{0}/{1}/Contents/MacOS".format( |
1054 "exe": "{0}/{1}/Contents/MacOS".format( |
1055 macAppBundlePath, macAppBundleName), |
1055 macAppBundlePath, macAppBundleName), |
1056 "icns": "{0}/{1}/Contents/Resources".format( |
1056 "icns": "{0}/{1}/Contents/Resources".format( |
1057 macAppBundlePath, macAppBundleName) |
1057 macAppBundlePath, macAppBundleName) |
1058 } |
1058 } |
1059 for directory in directories: |
1059 for directory in directories.values(): |
1060 if not os.path.exists(directory): |
1060 if not os.path.exists(directory): |
1061 os.makedirs(directory) |
1061 os.makedirs(directory) |
1062 |
1062 |
1063 if macPythonExe == defaultMacPythonExe: |
1063 if macPythonExe == defaultMacPythonExe: |
1064 starter = os.path.join(directories["exe"], "eric") |
1064 starter = os.path.join(directories["exe"], "eric") |