If a --python option is used to specify the Python to use in the #!
line also use this as the executable in the bundle.
This commit is contained in:
parent
2e7e7df969
commit
bbaa083745
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue