[Patches] [ python-Patches-1761786 ] distutils.util.get_platform() return value on 64bit Windows

SourceForge.net noreply at sourceforge.net
Tue Aug 21 03:06:17 CEST 2007


Patches item #1761786, was opened at 2007-07-27 16:11
Message generated for change (Comment added) made by mhammond
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: Closed
>Resolution: Fixed
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.

----------------------------------------------------------------------

>Comment By: Mark Hammond (mhammond)
Date: 2007-08-21 11:06

Message:
Logged In: YES 
user_id=14198
Originator: YES

pilot error caused this to require 2 checkins:

util.py, revision 57229.
command\bdist_msi.py, 57230.

----------------------------------------------------------------------

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