Changeset 23

Show
Ignore:
Timestamp:
Tue Sep 6 04:53:13 2005
Author:
giovannibajo
Message:

Check Python version match between Configure and Build/Makespec

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/Makespec.py

    r5 r23  
    72 72     sys.exit(1)  
    73 73  
      74 if config['pythonVersion'] != sys.version:  
      75     print "The current version of Python is not the same with which PyInstaller was configured."  
      76     print "Please re-run Configure.py with this version."  
      77     sys.exit(1)  
      78  
    74 79 def quote_win_filepath( path ):  
    75 80     # quote all \ with another \ after using normpath to clean up the path  
  • trunk/Build.py

    r5 r23  
    18 18     sys.exit(1)  
    19 19  
      20 if config['pythonVersion'] != sys.version:  
      21     print "The current version of Python is not the same with which PyInstaller was configured."  
      22     print "Please re-run Configure.py with this version."  
      23     sys.exit(1)  
      24  
    20 25 if config['hasRsrcUpdate']:  
    21 26     import icon, versionInfo  
  • trunk/Configure.py

    r16 r23  
    11 11     config = {'useELFEXE':1}    # if not set by Make.py we can assume Windows  
    12 12  
      13 # Save Python version, to detect and avoid conflicts  
      14 config["pythonVersion"] = sys.version  
      15  
    13 16 import mf, bindepend  
    14 17