Sun, 04 Feb 2018 00:22:20 +0000
macOS "sleep" signals / status are complete bollocks:
at least when plugged in, the system is actually sometimes running all
night with the lid closed and sleepNotification delivered. Therefore,
we need our timers to work in a sane manner when we should be sleeping!
This patch is a first stage of this fix, implementing stopped dreamtime.
It also has improved comparisons of different types of time, based on
snapshotting.
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'], )