forked from DFRobot/uPyCraft_src
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpack.py
More file actions
27 lines (22 loc) · 616 Bytes
/
pack.py
File metadata and controls
27 lines (22 loc) · 616 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 distutils.core import setup
import py2exe
import sys
#this allows to run it with a simple double click.
sys.argv.append('py2exe')
py2exe_options = {
"includes": ["sip","PyQt4.QtCore","PyQt4.QtGui"],
"dll_excludes": ["MSVCP90.dll"],
"compressed": 1,
"optimize": 2,
"ascii": 0,
"bundle_files": 0,
}
setup(
name = 'IDE',
version = '1.0',
windows = [{"script":'uPyCraft.py',
"icon_resources": [(1,"./images/logo.ico")]
}],
zipfile = None,
options = {'py2exe': py2exe_options}
)