forked from yinghuocho/firefly-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_mac.py
40 lines (36 loc) · 826 Bytes
/
setup_mac.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
38
39
40
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
APP = ['main.py']
DATA_FILES = [
'config.json',
'firefly-blacklist.txt',
'firefly-blacklist.meta.json',
'firefly-hosts.txt',
'firefly-hosts.meta.json',
'firefly-hosts-disabled.txt',
'custom-blacklist.txt',
'custom-whitelist.txt',
'meek-relays.txt',
'cacert.pem',
'README.md',
'LICENSE',
('webpanel', ['webpanel/static', ]),
('webpanel', ['webpanel/templates', ])
]
OPTIONS = {
'iconfile': 'firefly.icns',
'plist': {'CFBundleShortVersionString':'0.3.0',},
'argv_emulation': True
}
setup(
name="Firefly",
version="0.3.0",
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)