Skip to content

Commit

Permalink
Architecture options not valid when using a .spec file.
Browse files Browse the repository at this point in the history
  • Loading branch information
vasole committed Nov 24, 2023
1 parent b27bbeb commit acebb66
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build-pyinstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
os.path.join(".", "build-" + sys.platform),
os.path.join(".", "dist-" + sys.platform))

if sys.platform.startswith("darwin"):
if "arm64" in sys.argv:
cmd += " --target-arch arm64"
elif "universal2" in sys.argv:
cmd += " --target-arch universal2"
else:
cmd += " --target-arch x86_64"

if sys.platform.startswith("win"):
cmd = cmd.replace(";", "&")
result = os.system(cmd)
Expand Down

0 comments on commit acebb66

Please sign in to comment.