-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (28 loc) · 817 Bytes
/
setup.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
31
"""
Usage: python setup.py py2app
"""
from setuptools import setup
APP = ['pbxforwarderservice.py']
DATA_FILES = []
OPTIONS = {
'argv_emulation': True,
'iconfile': 'menta.icns',
'plist': {
'CFBundleName': 'PBXForwarderService',
'CFBundleShortVersionString': '1.0.0',
'CFBundleGetInfoString': 'PBXForwarderService 1.0.0',
'CFBundleExecutable': 'PBXForwarderService',
'CFBundleIdentifier': 'mx.menta.pbx-forwarder-service',
'LSBackgroundOnly': '1',
'LSUIElement': '1', # do not show it in the Dock
'LSMultipleInstancesProhibited': '1',
'NSSupportsSuddenTermination': 'NO',
'EnableTransactions': False,
}
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app',],
)