]>
Commit | Line | Data |
---|---|---|
96bfd053 RD |
1 | |
2 | """ | |
3 | This is a way to save the startup time when running img2py on lots of | |
4 | files... | |
5 | """ | |
6 | ||
1e4a197e | 7 | import sys |
8fa876ca RD |
8 | |
9 | from wx.tools import img2py | |
96bfd053 RD |
10 | |
11 | ||
12 | command_lines = [ | |
afb810d9 RD |
13 | " -u -i -n Mondrian bmp_source/mondrian.ico images.py", |
14 | ||
15 | "-a -u -n _10s_ bmp_source/10s.gif images.py", | |
16 | "-a -u -n _01c_ bmp_source/01c.gif images.py", | |
17 | "-a -u -n _12h_ bmp_source/12h.gif images.py", | |
18 | "-a -u -n _13d_ bmp_source/13d.gif images.py", | |
19 | "-a -u -n Background bmp_source/backgrnd.png images.py", | |
20 | "-a -u -n TestStar -m #FFFFFF bmp_source/teststar.png images.py", | |
21 | "-a -u -n TestStar2 bmp_source/teststar.png images.py", | |
22 | "-a -u -n TestMask bmp_source/testmask.bmp images.py", | |
23 | ||
24 | "-a -u -n Test2 bmp_source/test2.bmp images.py", | |
8596dc0b | 25 | "-a -u -n Test2m -m #0000FF bmp_source/test2.bmp images.py", |
afb810d9 RD |
26 | "-a -u -n Robin bmp_source/robin.jpg images.py", |
27 | ||
28 | "-a -u -n Bulb1 bmp_source/lb1.bmp images.py", | |
29 | "-a -u -n Bulb2 bmp_source/lb2.bmp images.py", | |
30 | ||
31 | "-a -u -n Calendar bmp_source/Calend.bmp images.py", | |
32 | "-a -u -n DbDec bmp_source/DbDec.bmp images.py", | |
33 | "-a -u -n Dec bmp_source/Dec.bmp images.py", | |
34 | "-a -u -n Pt bmp_source/Pt.bmp images.py", | |
35 | "-a -u -n DbInc bmp_source/DbInc.bmp images.py", | |
36 | "-a -u -n Inc bmp_source/Inc.bmp images.py", | |
37 | ||
38 | "-a -u -n New -m #C0C0C0 bmp_source/new.bmp images.py", | |
39 | "-a -u -n Open -m #C0C0C0 bmp_source/open.bmp images.py", | |
40 | "-a -u -n Copy -m #C0C0C0 bmp_source/copy.bmp images.py", | |
3628e088 | 41 | "-a -u -n Copy2 -m #C0C0C0 bmp_source/copy2.bmp images.py", |
afb810d9 RD |
42 | "-a -u -n Paste -m #C0C0C0 bmp_source/paste.bmp images.py", |
43 | "-a -u -n Tog1 -m #C0C0C0 bmp_source/tog1.bmp images.py", | |
44 | "-a -u -n Tog2 -m #C0C0C0 bmp_source/tog2.bmp images.py", | |
45 | ||
46 | "-a -u -n Smiles -m #FFFFFF bmp_source/smiles2.bmp images.py", | |
47 | ||
48 | "-a -u -n GridBG bmp_source/GridBG.gif images.py", | |
49 | ||
50 | "-a -u -n SmallUpArrow -m #0000FF bmp_source/sm_up.bmp images.py", | |
51 | "-a -u -n SmallDnArrow -m #0000FF bmp_source/sm_down.bmp images.py", | |
52 | ||
53 | "-a -u -n Folder1 -m #FFFFFF bmp_source/folder1.bmp images.py", | |
54 | "-a -u -n Folder2 -m #FFFFFF bmp_source/folder2.bmp images.py", | |
55 | "-a -u -n Folder3 -m #FFFFFF bmp_source/folder3.bmp images.py", | |
56 | "-a -u -n File1 -m #FFFFFF bmp_source/file1.bmp images.py", | |
57 | "-a -u -n File2 -m #FFFFFF bmp_source/file2.bmp images.py", | |
58 | ||
af83019e RD |
59 | "-a -u -n NoIcon bmp_source/noicon.png images.py", |
60 | ||
61 | "-a -u -n WizTest1 bmp_source/wiztest1.bmp images.py", | |
62 | "-a -u -n WizTest2 bmp_source/wiztest2.bmp images.py", | |
611dc22c | 63 | |
1fded56b | 64 | "-a -u -n Tux bmp_source/Tux.png images.py", |
1e4a197e RD |
65 | |
66 | ||
fbd5dd1d RD |
67 | "-a -u -n Blom01 bmp_source/toblom01.png images.py", |
68 | "-a -u -n Blom02 bmp_source/toblom02.png images.py", | |
69 | "-a -u -n Blom03 bmp_source/toblom03.png images.py", | |
70 | "-a -u -n Blom04 bmp_source/toblom04.png images.py", | |
71 | "-a -u -n Blom05 bmp_source/toblom05.png images.py", | |
72 | "-a -u -n Blom06 bmp_source/toblom06.png images.py", | |
73 | "-a -u -n Blom07 bmp_source/toblom07.png images.py", | |
74 | "-a -u -n Blom08 bmp_source/toblom08.png images.py", | |
75 | "-a -u -n Blom09 bmp_source/toblom09.png images.py", | |
76 | "-a -u -n Blom10 bmp_source/toblom10.png images.py", | |
77 | "-a -u -n Blom11 bmp_source/toblom11.png images.py", | |
78 | "-a -u -n Blom12 bmp_source/toblom12.png images.py", | |
79 | "-a -u -n Blom13 bmp_source/toblom13.png images.py", | |
80 | "-a -u -n Blom14 bmp_source/toblom14.png images.py", | |
81 | "-a -u -n Blom15 bmp_source/toblom15.png images.py", | |
8596dc0b RD |
82 | |
83 | "-a -u -n Blom08m -m #FFFFFF bmp_source/toblom08.png images.py", | |
84 | "-a -u -n Blom10m -m #FFFFFF bmp_source/toblom10.png images.py", | |
85 | "-a -u -n Blom15m -m #FFFFFF bmp_source/toblom15.png images.py", | |
49090f6f | 86 | |
2a0495c9 | 87 | "-a -u -n FloatCanvas bmp_source/floatcanvas.png images.py", |
8596dc0b RD |
88 | |
89 | "-a -u -i -n WXP bmp_source/wxp.ico images.py", | |
90 | "-a -u -i -n WXPdemo bmp_source/wxpdemo.ico images.py", | |
91 | ||
fbd5dd1d | 92 | |
1e4a197e RD |
93 | " -u -c bmp_source/001.png throbImages.py", |
94 | "-a -u -c bmp_source/002.png throbImages.py", | |
95 | "-a -u -c bmp_source/003.png throbImages.py", | |
96 | "-a -u -c bmp_source/004.png throbImages.py", | |
97 | "-a -u -c bmp_source/005.png throbImages.py", | |
98 | "-a -u -c bmp_source/006.png throbImages.py", | |
99 | "-a -u -c bmp_source/007.png throbImages.py", | |
100 | "-a -u -c bmp_source/008.png throbImages.py", | |
101 | "-a -u -c bmp_source/009.png throbImages.py", | |
102 | "-a -u -c bmp_source/010.png throbImages.py", | |
103 | "-a -u -c bmp_source/011.png throbImages.py", | |
104 | "-a -u -c bmp_source/012.png throbImages.py", | |
105 | "-a -u -c bmp_source/013.png throbImages.py", | |
106 | "-a -u -c bmp_source/014.png throbImages.py", | |
107 | "-a -u -c bmp_source/015.png throbImages.py", | |
108 | "-a -u -c bmp_source/016.png throbImages.py", | |
109 | "-a -u -c bmp_source/017.png throbImages.py", | |
110 | "-a -u -c bmp_source/018.png throbImages.py", | |
111 | "-a -u -c bmp_source/019.png throbImages.py", | |
112 | "-a -u -c bmp_source/020.png throbImages.py", | |
113 | "-a -u -c bmp_source/021.png throbImages.py", | |
114 | "-a -u -c bmp_source/022.png throbImages.py", | |
115 | "-a -u -c bmp_source/023.png throbImages.py", | |
116 | "-a -u -c bmp_source/024.png throbImages.py", | |
117 | "-a -u -c bmp_source/025.png throbImages.py", | |
118 | "-a -u -c bmp_source/026.png throbImages.py", | |
119 | "-a -u -c bmp_source/027.png throbImages.py", | |
120 | "-a -u -c bmp_source/028.png throbImages.py", | |
121 | "-a -u -c bmp_source/029.png throbImages.py", | |
122 | "-a -u -c bmp_source/030.png throbImages.py", | |
123 | ||
124 | "-a -u -c bmp_source/eclouds.png throbImages.py", | |
125 | "-a -u -c bmp_source/logo.png throbImages.py", | |
126 | "-a -u -c bmp_source/rest.png throbImages.py", | |
96bfd053 RD |
127 | ] |
128 | ||
129 | ||
d7403ad2 RD |
130 | if __name__ == "__main__": |
131 | for line in command_lines: | |
132 | args = line.split() | |
133 | img2py.main(args) | |
96bfd053 | 134 |