-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (30 loc) · 894 Bytes
/
setup.py
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
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
import glob
APP = ['OnlineClass.pyw']
DATA_FILES = [('images', glob.glob('images/*.*')), ('data', glob.glob('data/*.*')), 'LICENSE.txt', 'VERSION.txt']
OPTIONS = {
'iconfile':'images/OCH_Logo.icns',
'argv_emulation': False,
'plist': {
'CFBundleName': 'OCH',
'CFBundleDisplayName': 'OCH',
'CFBundleIdentifier': "com.ravens.osx.OCH",
'CFBundleVersion': "1.1.0",
'CFBundleShortVersionString': "1.1.0",
'NSHumanReadableCopyright': u"Copyright © 2021, Ravens Enterprises, All Rights Reserved"
},
'includes': ['requests', 'PIL', 'tkinter', 'tk']
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)