-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (35 loc) · 835 Bytes
/
Copy pathsetup.py
File metadata and controls
37 lines (35 loc) · 835 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
33
34
35
36
37
from setuptools import setup
APP = ['main.py']
DATA_FILES = [
'styles.qss',
'mushroom_icon.png',
'blank.ico'
]
OPTIONS = {
'iconfile': 'mushroom_icon.icns',
'packages': ['PySide6'],
'includes': [
'cmath',
'imp',
'jaraco.text',
'PySide6.QtWidgets',
'PySide6.QtGui',
'PySide6.QtCore',
'PySide6.QtPrintSupport'
],
'excludes': ['backports', 'backports.tarfile'],
'plist': {
'CFBundleName': 'MushLog',
'CFBundleDisplayName': 'MushLog',
'CFBundleIdentifier': 'com.yourname.mushlog',
'CFBundleVersion': '1.0',
'CFBundleShortVersionString': '1.0',
'NSHighResolutionCapable': True
}
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)