2000-07-15 19:51:35 +00:00
|
|
|
@echo off
|
|
|
|
rem Builds a zip containing stuff needed to link with the wxWindows DLL
|
2002-08-28 20:02:20 +00:00
|
|
|
rem shipped with wxPython. This should allow other developers to create apps
|
2000-07-15 19:51:35 +00:00
|
|
|
rem or extensions that can share the same DLL.
|
|
|
|
|
2001-12-13 18:55:19 +00:00
|
|
|
setlocal
|
2002-08-28 20:02:20 +00:00
|
|
|
set BASE=_distrib_zip\wxPython-%1
|
2000-07-15 19:51:35 +00:00
|
|
|
|
2002-08-28 20:02:20 +00:00
|
|
|
rem **** Make a directory to build up a distribution tree
|
|
|
|
mkdir _distrib_zip
|
2001-12-13 18:55:19 +00:00
|
|
|
mkdir %BASE%
|
2000-07-15 19:51:35 +00:00
|
|
|
|
|
|
|
|
2002-08-28 20:02:20 +00:00
|
|
|
rem *** copy files
|
|
|
|
copy distrib\README.devel.txt %BASE%\README.txt
|
|
|
|
|
|
|
|
mkdir %BASE%\include
|
|
|
|
mkdir %BASE%\include\wx
|
|
|
|
copy /s %WXWIN%\include\wx\* %BASE%\include\wx
|
2000-07-15 19:51:35 +00:00
|
|
|
|
2002-08-28 20:02:20 +00:00
|
|
|
mkdir %BASE%\lib
|
|
|
|
mkdir %BASE%\lib\mswdllh
|
|
|
|
mkdir %BASE%\lib\mswdlluh
|
|
|
|
copy /s %WXWIN%\lib\mswdllh\* %BASE%\lib\mswdllh
|
|
|
|
copy /s %WXWIN%\lib\mswdlluh\* %BASE%\lib\mswdlluh
|
|
|
|
copy %WXWIN%\lib\wxmsw*h.lib %BASE%\lib
|
|
|
|
copy %WXWIN%\lib\wxmsw*h.dll %BASE%\lib
|
|
|
|
copy %WXWIN%\lib\mslu.txt %BASE%\lib
|
|
|
|
copy %WXWIN%\lib\unicows.dll %BASE%\lib
|
|
|
|
copy %WXWIN%\lib\unicows.lib %BASE%\lib
|
2000-07-15 19:51:35 +00:00
|
|
|
|
2001-12-13 18:55:19 +00:00
|
|
|
mkdir %BASE%\src
|
2002-08-28 20:02:20 +00:00
|
|
|
copy %WXWIN%\src\makevc.env %BASE%\src
|
|
|
|
copy %WXWIN%\src\makelib.vc %BASE%\src
|
|
|
|
|
|
|
|
|
|
|
|
rem *** remove unneeded files
|
|
|
|
del /sxzy %BASE%\include\wx\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\generic\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\gtk\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\html\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\mac\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\mgl\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\motif\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\msw\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\msw\ctl3d\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\msw\gnuwin32\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\msw\gnuwin32\gl\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\msw\ole\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\os2\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\protocol\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\univ\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\unix\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\x11\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\x11\nanox\CVS
|
|
|
|
del /sxzy %BASE%\include\wx\x11\nanox\X11\CVS
|
2000-07-15 19:51:35 +00:00
|
|
|
|
|
|
|
|
2001-12-13 18:55:19 +00:00
|
|
|
|
2002-08-28 20:02:20 +00:00
|
|
|
rem *** bundle it all up
|
|
|
|
cd _distrib_zip
|
2003-03-25 06:35:27 +00:00
|
|
|
tar cvf ../dist/wxPythonWIN32-devel-%1.tar wxPython-%1
|
|
|
|
gzip -9 ../dist/wxPythonWIN32-devel-%1.tar
|
2001-12-13 18:55:19 +00:00
|
|
|
|
2002-08-28 20:02:20 +00:00
|
|
|
rem *** cleanup
|
|
|
|
cd ..
|
|
|
|
del /sxzy _distrib_zip
|
2001-12-13 18:55:19 +00:00
|
|
|
|
|
|
|
endlocal
|
2000-07-15 19:51:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
|