Add mac launcher, py2app setup, and build script

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Pat TeruelandCopilot committed 2026-03-01 10:16:21 +08:00
1 parent 35d63c3726
commit c77c1a6f6f
5 files changed
+96 -1

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
from setuptools import setup
APP = ['mac_launcher.py']
DATA_FILES = []
OPTIONS = {
'argv_emulation': True,
'packages': ['clients'],
'includes': ['jinja2', 'requests', 'dotenv'],
'resources': ['templates'],
'plist': {
'CFBundleName': 'MediaEpisodesViewer',
'CFBundleShortVersionString': '0.1.0',
'CFBundleIdentifier': 'com.example.mediaepisodesviewer'
}
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)