[ 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.
This commit is contained in:
Mark Hammond 2007-08-21 01:05:16 +00:00
parent e4f271f38d
commit 1bb124ad0d
1 changed files with 3 additions and 2 deletions

View File

@ -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