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:
parent
08d28c6f3d
commit
ec90912d31
@ -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'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user