forked from wmcbrine/tivoremote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup-dmg.py
30 lines (26 loc) · 968 Bytes
/
setup-dmg.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""
This is a setup.py script originally generated by py2applet. It is ONLY
good for building a Mac OS X applet bundle.
Usage:
python setup-dmg.py py2app
"""
from setuptools import setup
from version import VER
VER += '.0'
APP = ['Network Remote.pyw']
DATA_FILES = ['Network Remote.help']
PLIST = {'CFBundleVersion': VER, 'CFBundleShortVersionString': VER,
'CFBundleIdentifier': 'com.wmcbrine.networkremote',
'CFBundleHelpBookFolder': 'Network Remote.help',
'CFBundleHelpBookName': 'Network Remote Help',
'NSHumanReadableCopyright': '2008-2014 William McBrine',
'LSApplicationCategoryType': 'public.app-category.utilities'}
OPTIONS = {'includes': 'zeroconf', 'semi_standalone': True,
'site_packages': True, 'argv_inject': ['-g', '-t'],
'plist': PLIST, 'iconfile': 'remote.icns'}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)