[Python-checkins] python/dist/src/Lib/plat-mac bundlebuilder.py,1.33,1.34

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Fri, 04 Jul 2003 04:05:38 -0700


Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1:/tmp/cvs-serv4526

Modified Files:
	bundlebuilder.py 
Log Message:
If a --python option is used to specify the Python to use in the #!
line also use this as the executable in the bundle.


Index: bundlebuilder.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/bundlebuilder.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** bundlebuilder.py	29 Jun 2003 22:20:26 -0000	1.33
--- bundlebuilder.py	4 Jul 2003 11:05:35 -0000	1.34
***************
*** 406,410 ****
              if not self.standalone and not isFramework():
                  self.symlink_exec = 1
!             self.executable = sys.executable
  
          if self.nibname:
--- 406,413 ----
              if not self.standalone and not isFramework():
                  self.symlink_exec = 1
!             if self.python:
!                 self.executable = self.python
!             else:
!                 self.executable = sys.executable
  
          if self.nibname: