-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
37 lines (31 loc) · 830 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
32
33
34
35
36
37
from distutils.core import setup
import py2app
NAME = 'Coinbase Menubar'
SCRIPT = 'menubar.py'
VERSION = '0.1'
ID = 'coinbase_menubar'
DATA_FILES = [
('images', ['images/bitcoin.png', ]),
]
plist = dict(
CFBundleName = NAME,
CFBundleShortVersionString = ' '.join([NAME, VERSION]),
CFBundleGetInfoString = NAME,
CFBundleExecutable = NAME,
CFBundleIdentifier = 'com.yourdn.%s' % ID,
LSUIElement = '1', #makes it not appear in cmd-tab task list etc.
)
app_data = dict(script=SCRIPT, plist=plist)
setup(
app = [app_data],
data_files = DATA_FILES,
options = {
'py2app':{
'iconfile':'images/bitcoin.icns',
'resources':[
],
'excludes':[
]
}
}
)