summaryrefslogtreecommitdiffstats
path: root/Lib/msilib
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2017-09-06 22:45:25 (GMT)
committerGitHub <noreply@github.com>2017-09-06 22:45:25 (GMT)
commit49ce74efe845a8a91939ff3990a5f233262d3e1f (patch)
tree1a8cc8d4b43bdc3fe04d9fc4810a5830d14d43fe /Lib/msilib
parenteffc12f8e9e20d0951d2ba5883587666bd8218e3 (diff)
downloadcpython-49ce74efe845a8a91939ff3990a5f233262d3e1f.zip
cpython-49ce74efe845a8a91939ff3990a5f233262d3e1f.tar.gz
cpython-49ce74efe845a8a91939ff3990a5f233262d3e1f.tar.bz2
Remove all mention of Windows IA-64 support (GH-3389)
It was mostly removed long ago.
Diffstat (limited to 'Lib/msilib')
-rw-r--r--Lib/msilib/__init__.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/msilib/__init__.py b/Lib/msilib/__init__.py
index f0370c2..7ab8bcc 100644
--- a/Lib/msilib/__init__.py
+++ b/Lib/msilib/__init__.py
@@ -8,8 +8,6 @@ import string
import sys
AMD64 = "AMD64" in sys.version
-Itanium = "Itanium" in sys.version
-Win64 = AMD64 or Itanium
# Partially taken from Wine
datasizemask= 0x00ff
@@ -150,9 +148,7 @@ def init_database(name, schema,
si.SetProperty(PID_TITLE, "Installation Database")
si.SetProperty(PID_SUBJECT, ProductName)
si.SetProperty(PID_AUTHOR, Manufacturer)
- if Itanium:
- si.SetProperty(PID_TEMPLATE, "Intel64;1033")
- elif AMD64:
+ if AMD64:
si.SetProperty(PID_TEMPLATE, "x64;1033")
else:
si.SetProperty(PID_TEMPLATE, "Intel;1033")
@@ -272,7 +268,7 @@ class Directory:
if component is None:
component = self.logical
self.component = component
- if Win64:
+ if AMD64:
flags |= 256
if keyfile:
keyid = self.cab.gen_id(self.absolute, keyfile)