Commit 1bb124ad authored by Mark Hammond's avatar Mark Hammond

[ 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.
parent e4f271f3
...@@ -633,7 +633,8 @@ class bdist_msi (Command): ...@@ -633,7 +633,8 @@ class bdist_msi (Command):
def get_installer_filename(self, fullname): def get_installer_filename(self, fullname):
# Factored out to allow overriding in subclasses # Factored out to allow overriding in subclasses
plat = get_platform()
installer_name = os.path.join(self.dist_dir, installer_name = os.path.join(self.dist_dir,
"%s.win32-py%s.msi" % "%s.%s-py%s.msi" %
(fullname, self.target_version)) (fullname, plat, self.target_version))
return installer_name return installer_name
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment