forked from Roastero/Openroast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_py2app.py
More file actions
27 lines (24 loc) · 746 Bytes
/
setup_py2app.py
File metadata and controls
27 lines (24 loc) · 746 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
from setuptools import setup
APP = ['openroast/openroastapp.py']
DATA_FILES = []
OPTIONS = {
'argv_emulation': True,
'iconfile': 'openroast/static/icons/openroast-mac.icns',
'packages': [
'openroast',
],
'plist': {
'CFBundleName': 'Openroast %VERSION%',
'CFBundleShortVersionString':'%VERSION_MMP%', # must be in X.X.X format
'CFBundleVersion': '%VERSION_MMP%',
'CFBundleIdentifier':'org.openroast.openroast', #optional
# 'NSHumanReadableCopyright': '@ Me 2013', #optional
'CFBundleDevelopmentRegion': 'English', #optional - English is default
}
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)