Mon, 17 Sep 2018 19:48:02 -0500
py2app is fucked up shit that couldn't find a packages with staring at it
with its name written on it, and instead takes them all, so include a long
list of modules to forcibly exclude to build a reasonably-sized app.
from setuptools import setup APP = ['borgend.py'] DATA_FILES = [] OPTIONS = { 'argv_emulation': False, 'plist': { 'LSUIElement': True, }, 'packages': ['rumps', 'keyring', 'yaml'], 'includes': ['xdg'], 'excludes': ['wx', 'PyQt5', 'matplotlib', 'numpy', 'scipy'], } setup( app=APP, data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'], )