forked from Benceking24/LinkBridge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (42 loc) · 1.16 KB
/
Copy pathsetup.py
File metadata and controls
47 lines (42 loc) · 1.16 KB
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
"""py2app build config for LinkBridge.
Usage:
python setup.py py2app
Output:
dist/LinkBridge.app
"""
from setuptools import setup
APP = ["linkbridge/__main__.py"]
OPTIONS = {
"argv_emulation": False,
"iconfile": "assets/LinkBridge.icns",
"plist": {
"CFBundleName": "LinkBridge",
"CFBundleDisplayName": "LinkBridge",
"CFBundleIdentifier": "com.linkbridge.app",
"CFBundleVersion": "2.0.0",
"CFBundleShortVersionString": "2.0.0",
"LSUIElement": True,
"LSMinimumSystemVersion": "15.0",
"NSHighResolutionCapable": True,
"NSLocalNetworkUsageDescription": (
"LinkBridge uses the local network to discover Ableton Link peers "
"(such as Rekordbox, djay Pro, or other Link-enabled apps) so it "
"can forward their tempo to your MIDI output."
),
},
"packages": ["rumps", "mido", "rtmidi", "linkbridge"],
"includes": [
"logging.handlers",
],
"excludes": [
"tkinter",
"_tkinter",
"Tkinter",
],
}
setup(
name="LinkBridge",
app=APP,
options={"py2app": OPTIONS},
setup_requires=["py2app"],
)