setup.py

Mon, 05 Feb 2018 10:25:17 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 05 Feb 2018 10:25:17 +0000
changeset 106
a7bdc239ef62
parent 60
10bd7e3906d9
child 117
b509a4e34d7f
permissions
-rw-r--r--

Added exeption protection decorators to callbacks.
If callbacks crash, there's rarely anything in the logs otherwise.

from setuptools import setup

APP = ['borgend.py']
DATA_FILES = []
OPTIONS = {
    'argv_emulation': False,
    'plist': {
        'LSUIElement': True,
    },
    'packages': ['rumps', 'keyring'],
    # The following is the real list, byt py2app fails despite
    # them being installed according to pip3 and everything
    #'packages': ['rumps', 'keyring', 'xdg', 'pyyaml'],
}

setup(
    app=APP,
    data_files=DATA_FILES,
    options={'py2app': OPTIONS},
    setup_requires=['py2app'],
)

mercurial