Примерно так: обратите внимание на «LSArchitecturePriority»: «x86_64»,
#cat ./setup.py
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup, find_packages
APP = ['YourApp.py']
DATA_FILES = []
OPTIONS = {
'argv_emulation': False,
'semi_standalone':'False',
'optimize': 2,
'includes': [
...
],
'site_packages': 'True',
'plist' : {
'LSPrefersPPC' : False,
'LSArchitecturePriority' : 'x86_64',
}
}
setup(
name = "YourApp",
version = "0.0.4",
author = "Iam",
author_email = "info@test.com",
description = ("An demonstration of how to create, document, and publish MacOS app"),
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)