forked from zjkmxy/ndn-cc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (56 loc) · 1.57 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
APP = ['osx_main.py']
DATA_FILES = ['ndn_app.png', 'static', 'templates']
OPTIONS = {'argv_emulation': True,
'iconfile': 'ndn_app.icns',
'includes': [
'asn1crypto',
'cffi',
'Click',
'cryptography',
'Flask',
'Flask-SocketIO',
'itsdangerous',
'Jinja2',
'MarkupSafe',
'protobuf',
'pycparser',
'PyNDN',
'python-engineio',
'python-socketio',
'six',
'Werkzeug',
'pystray',
'Pillow',
'ndncc',
'engineio.async_drivers.threading',
'jinja2.ext',
'gevent',
'greenlet',
'engineio.async_gevent',
'engineio.async_drivers.gevent',
],
'packages': [
'Pillow',
'gevent',
],
'plist': {
'CFBundleIdentifier': "com.ndn.ndncc",
'CFBundleName': "NDNCC",
'CFBundleVersion': '1001',
'CFBundleShortVersionString': '1.0',
'NSHumanReadableCopyright': 'Copyright 2019 NDN team',
'LSBackgroundOnly': 'true'
}
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)