From bbaa08374587013d07ced371c80f620003876b6c Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 4 Jul 2003 11:05:35 +0000 Subject: [PATCH] If a --python option is used to specify the Python to use in the #! line also use this as the executable in the bundle. --- Lib/plat-mac/bundlebuilder.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py index 554b0f1897c..9c79e30e09e 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