Permalink
Browse files

build windows-nicely packages

  • Loading branch information...
1 parent f1a7b47 commit 154bb083a7d4c5a13f29057b5e9d398b3888ed65 @eugeni committed Jun 1, 2011
Showing with 13 additions and 4 deletions.
  1. +13 −4 compile.py
View
@@ -8,7 +8,16 @@
DESTDIR="win_dist"
setup(
- console=['student.py', 'teacher.py'],
+ windows = [
+ {
+ "script": 'student.py',
+ "icon_resources": [(0, "iface/student.ico")]
+ },
+ {
+ "script": 'teacher.py',
+ "icon_resources": [(0, "iface/teacher.ico")]
+ }
+ ],
options = {
'py2exe':
{
@@ -17,9 +26,9 @@
},
},
data_files = [
- ("iface", glob.glob("iface/*")),
- ],
- zipfile = "lib.dat",
+ ("iface", ["iface/machine.png", "iface/machine_off.png", "iface/openclass.png"]),
+ ],
+ zipfile = None,
)
# cleanup

0 comments on commit 154bb08

Please sign in to comment.