diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2007-08-21 01:05:16 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2007-08-21 01:05:16 (GMT) |
commit | 1bb124ad0d9a81664170d9a41c6c8128ceafbc33 (patch) | |
tree | a5dd76145ccf48d40c65306afb3d34d7ff138921 | |
parent | e4f271f38d0e23e408624b3fab6298d9037a1307 (diff) | |
download | cpython-1bb124ad0d9a81664170d9a41c6c8128ceafbc33.zip cpython-1bb124ad0d9a81664170d9a41c6c8128ceafbc33.tar.gz cpython-1bb124ad0d9a81664170d9a41c6c8128ceafbc33.tar.bz2 |
[ 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.
-rw-r--r-- | Lib/distutils/command/bdist_msi.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/distutils/command/bdist_msi.py b/Lib/distutils/command/bdist_msi.py index 75db877..a1c0df4 100644 --- a/Lib/distutils/command/bdist_msi.py +++ b/Lib/distutils/command/bdist_msi.py @@ -633,7 +633,8 @@ class bdist_msi (Command): 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 |