Skip to content

Commit 1a5a481

Browse files
authored
Merge pull request #2 from salipshitz/master
Beta 2
2 parents c8b9f83 + a856d1e commit 1a5a481

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

setup_app.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
from setuptools import setup
2+
3+
APP = ['mainloop.py']
4+
APP_NAME = "LearnPythonWithPython"
5+
APP_IDENTIFIER = "com.saardeveloper.python-with-python"
6+
APP_VERSION = "1.BETA.2"
7+
APP_VERSION_SHORT = "Beta 2"
8+
MODULES=['window', 'screens']
9+
DATA_FILES = []
10+
OPTIONS = {
11+
'argv_emulator': True,
12+
'plist': {
13+
'CFBundleName': APP_NAME,
14+
'CFBundleDisplayName': APP_NAME,
15+
'CFBundleIdentifier': APP_IDENTIFIER,
16+
'CFBundleVersion': APP_VERSION,
17+
'CFBundleShortVersionString': APP_VERSION_SHORT
18+
}
19+
}
20+
21+
setup(
22+
name=APP_NAME,
23+
py_modules=MODULES
24+
app=APP,
25+
data_files=DATA_FILES,
26+
options={'py2app': OPTIONS},
27+
setup_requires=['py2app']
28+
)

0 commit comments

Comments
 (0)