-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
57 lines (49 loc) · 1014 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
##----------------------------------------------------------------##
APP_NAME = 'Gii'
AUTHOR = 'Tommo Zhou'
APP = [ 'gii_bin_qt.py' ]
DATA_FILES = []
OPTIONS = {
'arch': 'x86_64',
'argv_emulation': True,
'optimize': 2,
'strip': False,
'semi_standalone' : True,
'use_pythonpath' : True,
'emulate_shell_environment' : True,
# 'includes': [
# 'sip',
# 'PyQt4',
# 'PyQt4._qt',
# 'PyQt4.QtCore',
# 'PyQt4.QtGui',
# 'PIL',
# ],
# 'excludes': [
# 'wx',
# 'PyQt4.QtDesigner',
# 'PyQt4.QtNetwork',
# 'PyQt4.QtScript',
# 'PyQt4.QtSql',
# 'PyQt4.QtTest',
# 'PyQt4.QtXml',
# 'PyQt4.phonon'
# ],
}
setup(
name = APP_NAME,
author = AUTHOR,
app = APP,
data_files = DATA_FILES,
options = {'py2app': OPTIONS},
setup_requires = ['py2app']
# plist = dict(
# CFBundleIdentifier = 'com.hatrix.gii'
# )
)