Commit bbaa0837 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 2e7e7df9
...@@ -405,6 +405,9 @@ class AppBuilder(BundleBuilder): ...@@ -405,6 +405,9 @@ 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
if self.python:
self.executable = self.python
else:
self.executable = sys.executable self.executable = sys.executable
if self.nibname: if 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