[Patches] [ python-Patches-1761786 ] distutils.util.get_platform() return value on 64bit Windows
SourceForge.net
noreply at sourceforge.net
Fri Jul 27 08:11:36 CEST 2007
Patches item #1761786, was opened at 2007-07-27 16:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1761786&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Distutils and setup.py
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mark Hammond (mhammond)
Assigned to: Mark Hammond (mhammond)
Summary: distutils.util.get_platform() return value on 64bit Windows
Initial Comment:
As discussed recently on distutils-sig (http://mail.python.org/pipermail/distutils-sig/2007-July/007877.html), 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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1761786&group_id=5470
More information about the Patches
mailing list