Show
Ignore:
Timestamp:
11/08/10 06:37:18 (19 months ago)
Author:
build
Message:

Move all Python versioning to two evironment variables

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • packaging/centuryegg/build-rpms

    r11595 r12470  
    3030 
    3131os.chdir(tmp_dir) 
    32 if sys.version_info[0] == 2 and sys.version_info[1] < 5: 
    33     easyinstall = "easy_install-2.5" 
    34     python = "python2.5" 
     32if sys.version_info[0] == 2 and sys.version_info[1] < os.environ["MIN_PYTHON_MINOR_VERSION"]: 
     33    easyinstall = "easy_install-"+os.environ["PYTHON_VERSION"] 
     34    python = "python"+os.environ["PYTHON_VERSION"] 
    3535else: 
    3636    easyinstall = "easy_install"