-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (27 loc) · 773 Bytes
/
setup.py
File metadata and controls
29 lines (27 loc) · 773 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
"""py2app build configuration for RAMBar."""
from setuptools import setup
APP = ["app.py"]
DATA_FILES = []
OPTIONS = {
"argv_emulation": False,
"packages": ["rumps", "psutil"],
"plist": {
# Hide from Dock — menu bar only app
"LSUIElement": True,
"CFBundleName": "RAMBar",
"CFBundleDisplayName": "RAMBar",
"CFBundleIdentifier": "com.rambar.menubar",
"CFBundleVersion": "1.0.0",
"CFBundleShortVersionString": "1.0.0",
"NSHumanReadableCopyright": "MIT License",
# Allow running on Apple Silicon and Intel
"LSMinimumSystemVersion": "11.0",
},
}
setup(
name="RAMBar",
app=APP,
data_files=DATA_FILES,
options={"py2app": OPTIONS},
setup_requires=["py2app"],
)