Skip to content

Commit

Permalink
Windows app: switch over to 64bit for good
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanDunfield committed Sep 8, 2023
1 parent b74dc88 commit 4d50b91
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions windows_exe/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@
this_pyinstaller = os.path.abspath(
os.path.join(this_python, '..', 'Scripts', 'pyinstaller'))

# We currently build the Windows apps as 32 bit apps only. The reason for
# this is a mysterious unresolved issue with the 64 bit app, namely
# that when installed in C:\Program Files it takes close to one minute
# to start up. While it does start up normally if installed elsewhere,
# we want to resolve this issue before releasing a 64 bit app.

# if platform.architecture()[0] != '32bit' and '--64-bit' not in sys.argv:
# print("ERROR: Need to use a 32bit Python to build the apps")
# sys.exit(1)
# The Inno Installer config file (*.iss) assumes a 64 bit binary.

if platform.architecture()[0] != '64bit' and '--32-bit' not in sys.argv:
print("ERROR: Need to use a 64bit Python to build the apps")
sys.exit(1)

try:
import pyx
Expand Down

0 comments on commit 4d50b91

Please sign in to comment.