mirror of
https://github.com/python/cpython
synced 2026-10-17 12:31:39 +03:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| bdist.py | ||
| bdist_dumb.py | ||
| bdist_rpm.py | ||
| bdist_wininst.py | ||
| build.py | ||
| build_clib.py | ||
| build_ext.py | ||
| build_py.py | ||
| build_scripts.py | ||
| checkdep.py | ||
| clean.py | ||
| command_template | ||
| config.py | ||
| install.py | ||
| install_data.py | ||
| install_headers.py | ||
| install_lib.py | ||
| install_scripts.py | ||
| register.py | ||
| sdist.py | ||
| wininst-6.exe | ||
| wininst-7.1.exe | ||