Sun, 21 Jan 2018 22:43:57 +0000
Use platform package to detect whether to: * rumps vs. xdg for configuration file location, and * try to display a tray icon
from setuptools import setup APP = ['borgend.py'] DATA_FILES = [] OPTIONS = { 'argv_emulation': False, 'plist': { 'LSUIElement': True, }, 'packages': ['rumps', 'keyring'], #, 'xdg'], } setup( app=APP, data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'], )