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
This commit is contained in:
giovannibajo
2010-05-17 16:58:55 +00:00
parent 2b8c9ca39a
commit 4163580cc8
+7
View File
@@ -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:"