Changeset 38

Show
Ignore:
Timestamp:
Mon Sep 12 03:34:06 2005
Author:
giovannibajo
Message:

Use new bootloaders (for Python 2.4 support)

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/Build.py

    r23 r38  
    464 464         trash = []  
    465 465         outf = open(self.name, 'wb')  
    466           exe = 'support/run'  
    467           if not self.console:  
    468               exe = exe + 'w'  
    469           if self.debug:  
    470               exe = exe + '_d'  
      466         if iswin:  
      467             exe = 'support/loader/run_'  
      468             is24 = hasattr(sys, "version_info") and sys.version_info[:2] >= (2,4)  
      469             exe = exe + "67"[is24]  
      470             exe = exe + "rd"[self.debug]  
      471             exe = exe + "wc"[self.console]  
      472         else:  
      473             exe = 'support/run'  
      474             if not self.console:  
      475                 exe = exe + 'w'  
      476             if self.debug:  
      477                 exe = exe + '_d'  
    471 478         exe = os.path.join(HOMEPATH, exe)  
    472 479         if iswin or cygwin: