mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
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
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue