Commit 3a81c3de authored by Jack Jansen's avatar Jack Jansen

If a --python option is used to specify the Python to use in the #!

line also use this as the executable in the bundle.
parent c1ae3ec1
...@@ -405,7 +405,10 @@ class AppBuilder(BundleBuilder): ...@@ -405,7 +405,10 @@ class AppBuilder(BundleBuilder):
if self.executable is None: if self.executable is None:
if not self.standalone and not isFramework(): if not self.standalone and not isFramework():
self.symlink_exec = 1 self.symlink_exec = 1
self.executable = sys.executable if self.python:
self.executable = self.python
else:
self.executable = sys.executable
if self.nibname: if self.nibname:
self.plist.NSMainNibFile = self.nibname self.plist.NSMainNibFile = self.nibname
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment