• Thomas Heller's avatar
    Fix SF#983164. · a146feaa
    Thomas Heller yazdı
    Patch from Mark Hammond:
    
    bdist_wininst attempts to use the correct MSVC runtime for the current
    version of Python. This doesn't work correctly when --target-version
    is set. In that case, bdist_wininst still uses the *current*
    sys.version (ie, 2.4) rather than the version specified as
    --target-version. Thus, the msvc7 runtime based executable stub is
    *always* used.
    
    This patch "hard-codes" knowledge of earlier Python versions,
    providing the correct result when Python 2.4 is used to build Python
    2.3 and earlier distributions.
    
    Remove the short variant (-v) of the --target-version command line
    options, it conflicts with the --verbose/-v standard distutils switch.
    a146feaa
bdist_wininst.py 11.9 KB