From 4163580cc8cfbdaff8f3fbff6d55d4feefdeb905 Mon Sep 17 00:00:00 2001 From: giovannibajo Date: Mon, 17 May 2010 16:58:55 +0000 Subject: [PATCH] Add an early-exit in case of Windows 64-bit (currently unsupported). git-svn-id: http://svn.pyinstaller.org/trunk@835 8dd32b29-ccff-0310-8a9a-9233e24343b1 --- Configure.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Configure.py b/Configure.py index 956d17f..08264ad 100755 --- a/Configure.py +++ b/Configure.py @@ -27,6 +27,7 @@ import pprint import re import glob +import platform import mf import bindepend import Build @@ -38,6 +39,12 @@ is24 = hasattr(sys, "version_info") and sys.version_info[:2] >= (2,4) is26 = hasattr(sys, "version_info") and sys.version_info[:2] >= (2,6) cygwin = sys.platform == 'cygwin' +if iswin and platform.architecture()[0] != "32bit": + print "ERROR: PyInstaller does not support Windows 64-bit" + print "Subscribe to this ticket for more information:" + print " http://www.pyinstaller.org/ticket/25" + sys.exit(2) + if iswin and is26: print "ERROR: Python 2.6+ on Windows is unsupported by PyInstaller 1.4" print "Try the snapshot available on this page:"