[Python-checkins] r57230 - python/trunk/Lib/distutils/command/bdist_msi.py
mark.hammond
python-checkins at python.org
Tue Aug 21 03:05:16 CEST 2007
Author: mark.hammond
Date: Tue Aug 21 03:05:16 2007
New Revision: 57230
Modified:
python/trunk/Lib/distutils/command/bdist_msi.py
Log:
[ 1761786 ] distutils.util.get_platform() return value on 64bit Windows
As discussed on distutils-sig: Allows the generated installer name on
64bit Windows platforms to be different than the name generated for
32bit Windows platforms.
Modified: python/trunk/Lib/distutils/command/bdist_msi.py
==============================================================================
--- python/trunk/Lib/distutils/command/bdist_msi.py (original)
+++ python/trunk/Lib/distutils/command/bdist_msi.py Tue Aug 21 03:05:16 2007
@@ -633,7 +633,8 @@
def get_installer_filename(self, fullname):
# Factored out to allow overriding in subclasses
+ plat = get_platform()
installer_name = os.path.join(self.dist_dir,
- "%s.win32-py%s.msi" %
- (fullname, self.target_version))
+ "%s.%s-py%s.msi" %
+ (fullname, plat, self.target_version))
return installer_name
More information about the Python-checkins
mailing list