This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: distutils.util.get_platform() return value on 64bit Windows
Type: Stage:
Components: Distutils Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: mhammond Nosy List: mhammond
Priority: normal Keywords: patch

Created on 2007-07-27 06:11 by mhammond, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
get_platform.patch mhammond, 2007-07-27 06:11 change get_platform for 64bit windows
Messages (2)
msg52951 - (view) Author: Mark Hammond (mhammond) * (Python committer) Date: 2007-07-27 06:11
As discussed recently on distutils-sig (, it is desirable for get_platform() to return different values for different Windows architectures, to easily differentiate the files and directories created.  This patch arranges for either 'win-x86_64' or 'win-ia64' to be returned for the 2 64bit Windows platforms; all other platforms, including 32bit windows, are unchanged.

Patch also includes a change to bdist_msi so get_platform() is used instead of 'win32' to create the final .msi.  Note that get_platform() *is* already used for the name of the  'build' directories, so this hard-coding of win32 doesn't appear intentional.  No similar patch exists for bdist_wininst, as there is no intention to support x64 with bdist_wininst.
msg52952 - (view) Author: Mark Hammond (mhammond) * (Python committer) Date: 2007-08-21 01:06
pilot error caused this to require 2 checkins:, revision 57229.
command\, 57230.
Date User Action Args
2022-04-11 14:56:25adminsetgithub: 45248
2007-07-27 06:11:35mhammondcreate