summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-mac')
-rwxr-xr-xLib/plat-mac/bundlebuilder.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py
index 554b0f1..9c79e30 100755
--- a/Lib/plat-mac/bundlebuilder.py
+++ b/Lib/plat-mac/bundlebuilder.py
@@ -405,7 +405,10 @@ class AppBuilder(BundleBuilder):
if self.executable is None:
if not self.standalone and not isFramework():
self.symlink_exec = 1
- self.executable = sys.executable
+ if self.python:
+ self.executable = self.python
+ else:
+ self.executable = sys.executable
if self.nibname:
self.plist.NSMainNibFile = self.nibname