-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (33 loc) · 951 Bytes
/
setup.py
File metadata and controls
35 lines (33 loc) · 951 Bytes
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
from setuptools import setup
APP = ['bolo.py']
DATA_FILES = [
('', ['icon_idle.png', 'icon_recording.png']),
]
OPTIONS = {
'argv_emulation': False,
'no_zip': True,
'plist': {
'CFBundleIdentifier': 'com.abhishek.bolo',
'CFBundleName': 'Bolo',
'CFBundleShortVersionString': '1.2.0-alpha.2',
'LSUIElement': True,
'NSMicrophoneUsageDescription': 'Bolo needs mic access to transcribe your voice.',
'NSAccessibilityUsageDescription': 'Bolo needs accessibility to inject text into apps.',
},
'packages': [
'rumps', 'sounddevice', '_sounddevice_data', 'numpy',
'requests', 'certifi', 'websockets',
],
'includes': [
'Quartz',
'HIServices',
],
'excludes': ['matplotlib', 'PyInstaller', 'scipy', 'tkinter'],
}
setup(
app=APP,
name='Bolo',
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)