-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (37 loc) · 1.1 KB
/
setup.py
File metadata and controls
40 lines (37 loc) · 1.1 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
"""py2app build configuration."""
from setuptools import setup
APP = ["main.py"]
OPTIONS = {
"argv_emulation": False,
"iconfile": "assets/Screencast.icns",
"plist": {
"CFBundleName": "Screencast",
"CFBundleDisplayName": "Screencast",
"CFBundleIdentifier": "com.sashanicolas.screencast",
"CFBundleVersion": "1.0.0",
"CFBundleShortVersionString": "1.0.0",
"LSUIElement": True,
"NSScreenCaptureUsageDescription": (
"Screencast needs screen recording access to mirror your display."
),
"NSLocalNetworkUsageDescription": (
"Screencast uses the local network to stream to your Chromecast."
),
},
"packages": ["mss", "pychromecast", "zeroconf", "rumps"],
"includes": [
"screencast.app",
"screencast.capture",
"screencast.cast",
"screencast.hls",
"screencast.config",
"screencast.network",
"screencast.log",
],
"excludes": ["pytest", "unittest"],
}
setup(
app=APP,
options={"py2app": OPTIONS},
setup_requires=["py2app"],
)