1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 09:10:35 +03:00

Build: Don't enforce any bit-ness of platform

Testing shows this branch works (after build) on both 32-bit and 64-bit.
This commit is contained in:
Athanasius 2022-12-23 17:34:58 +00:00
parent 08d28c6f3d
commit ec90912d31
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -2,7 +2,6 @@
"""Build to executables and MSI installer using py2exe and other tools."""
import os
import pathlib
import platform
import re
import shutil
import sys
@ -22,7 +21,6 @@ if sys.version_info[0:2] != (3, 11):
raise AssertionError(f'Unexpected python version {sys.version}')
if sys.platform == 'win32':
assert platform.architecture()[0] == '64bit', 'A Python 64bit build is required'
import py2exe # noqa: F401 # Yes, this *is* used
dist_dir = 'dist.win32'