diff --git a/corona_pt.py b/corona_pt.py index b8150b4..9d9b624 100644 --- a/corona_pt.py +++ b/corona_pt.py @@ -9,7 +9,7 @@ class CoronaApp(object): def __init__(self): - self.app = rumps.App("Corona", "🦠") + self.app = rumps.App("Corona PT", "🦠") self.data = self.get_data(sender=None) self.suspected = rumps.MenuItem( diff --git a/icon.icns b/icon.icns new file mode 100644 index 0000000..ba6898a Binary files /dev/null and b/icon.icns differ diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..97e8f0c --- /dev/null +++ b/setup.py @@ -0,0 +1,22 @@ +from setuptools import setup + +APP = ['corona_pt.py'] +DATA_FILES = [] +OPTIONS = { + 'argv_emulation': True, + 'iconfile': 'icon.icns', + 'plist': { + 'CFBundleShortVersionString': '0.2.0', + 'LSUIElement': True, + }, + 'packages': ['rumps', 'requests'], +} + +setup( + app=APP, + name='Corona PT', + data_files=DATA_FILES, + options={'py2app': OPTIONS}, + setup_requires=['py2app'], install_requires=['rumps', 'requests'] +) +