2 rem Builds a zip containing stuff needed to link with the wxWindows DLL
3 rem shipped with wxPython. This should allow other developers to create apps
4 rem or extensions that can share the same DLL.
7 set BASE
=_distrib_zip\wxPython
-%1
9 rem **** Make a directory to build up a distribution tree
15 copy distrib\README.devel.txt
%BASE%\README.txt
18 mkdir %BASE%\include\wx
19 copy /s
%WXWIN%\include\wx\
* %BASE%\include\wx
22 mkdir %BASE%\lib\mswdllh
23 mkdir %BASE%\lib\mswdlluh
24 copy /s
%WXWIN%\lib\mswdllh\
* %BASE%\lib\mswdllh
25 copy /s
%WXWIN%\lib\mswdlluh\
* %BASE%\lib\mswdlluh
26 copy %WXWIN%\lib\wxmsw
*h.lib
%BASE%\lib
27 copy %WXWIN%\lib\wxmsw
*h.dll
%BASE%\lib
28 copy %WXWIN%\lib\mslu.txt
%BASE%\lib
29 copy %WXWIN%\lib\unicows.dll
%BASE%\lib
30 copy %WXWIN%\lib\unicows.lib
%BASE%\lib
33 copy %WXWIN%\src\makevc.env
%BASE%\src
34 copy %WXWIN%\src\makelib.vc
%BASE%\src
37 rem *** remove unneeded files
38 del /sxzy
%BASE%\include\wx\CVS
39 del /sxzy
%BASE%\include\wx\generic\CVS
40 del /sxzy
%BASE%\include\wx\gtk\CVS
41 del /sxzy
%BASE%\include\wx\html\CVS
42 del /sxzy
%BASE%\include\wx\mac\CVS
43 del /sxzy
%BASE%\include\wx\mgl\CVS
44 del /sxzy
%BASE%\include\wx\motif\CVS
45 del /sxzy
%BASE%\include\wx\msw\CVS
46 del /sxzy
%BASE%\include\wx\msw\ctl3d\CVS
47 del /sxzy
%BASE%\include\wx\msw\gnuwin32\CVS
48 del /sxzy
%BASE%\include\wx\msw\gnuwin32\gl\CVS
49 del /sxzy
%BASE%\include\wx\msw\ole\CVS
50 del /sxzy
%BASE%\include\wx\os2\CVS
51 del /sxzy
%BASE%\include\wx\protocol\CVS
52 del /sxzy
%BASE%\include\wx\univ\CVS
53 del /sxzy
%BASE%\include\wx\unix\CVS
54 del /sxzy
%BASE%\include\wx
\x11\CVS
55 del /sxzy
%BASE%\include\wx
\x11\nanox\CVS
56 del /sxzy
%BASE%\include\wx
\x11\nanox\X11\CVS
60 rem *** bundle it all up
62 tar cvf ..
/dist
/wxPythonWIN32
-devel
-%1.tar wxPython
-%1
63 gzip
-9 ..
/dist
/wxPythonWIN32
-devel
-%1.tar
67 del /sxzy _distrib_zip