-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_mac.py
More file actions
32 lines (30 loc) · 784 Bytes
/
setup_mac.py
File metadata and controls
32 lines (30 loc) · 784 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
"""
py2app setup script for macOS .app bundle.
Build with: python setup_mac.py py2app
"""
from setuptools import setup
APP = ['zippy_launcher.py']
DATA_FILES = [
('icons', ['debian/icons/zippy.icns']),
]
OPTIONS = {
'argv_emulation': True,
'iconfile': 'debian/icons/zippy.icns',
'packages': ['zippy'],
'includes': ['zippy.cli'],
'plist': {
'CFBundleName': 'Zippy',
'CFBundleDisplayName': 'Zippy Toolkit',
'CFBundleIdentifier': 'no.on1.zippy',
'CFBundleVersion': '2.0.0',
'CFBundleShortVersionString': '2.0.0',
'NSHumanReadableCopyright': '© 2025 John Hauger Mitander',
}
}
setup(
name='Zippy',
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)