mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
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:
@@ -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:"
|
||||
|
||||
Reference in New Issue
Block a user