2003-11-24 19:22:26 +00:00
|
|
|
rem @echo off
|
|
|
|
|
|
|
|
setlocal
|
|
|
|
set BASE=_distrib_zip\wxPython-%1
|
|
|
|
|
|
|
|
rem **** Make a directory to build up a distribution tree
|
|
|
|
mkdir _distrib_zip
|
|
|
|
mkdir %BASE%
|
|
|
|
mkdir %BASE%\wx
|
|
|
|
mkdir %BASE%\wxPython
|
|
|
|
mkdir %BASE%\demo
|
|
|
|
mkdir %BASE%\scripts
|
2003-12-23 19:56:51 +00:00
|
|
|
mkdir %BASE%\docs
|
|
|
|
mkdir %BASE%\docs\xml
|
|
|
|
|
2003-11-24 19:22:26 +00:00
|
|
|
|
|
|
|
rem *** copy files
|
|
|
|
copy /s wx %BASE%\wx
|
|
|
|
copy /s wxPython %BASE%\wxPython
|
|
|
|
copy /s demo %BASE%\demo
|
|
|
|
copy /s scripts %BASE%\scripts
|
|
|
|
|
2003-12-23 19:56:51 +00:00
|
|
|
copy ..\BIN\*h_*.dll %BASE%\wx
|
|
|
|
copy docs\MigrationGuide.* %BASE%\docs
|
|
|
|
copy docs\CHANGES.txt %BASE%\docs
|
|
|
|
copy docs\xml\wxPython-metadata.xml %BASE%\docs\xml
|
2003-11-24 19:22:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rem *** remove unneeded files
|
|
|
|
cd _distrib_zip
|
2003-12-24 01:39:22 +00:00
|
|
|
ffind /A:D /SB CVS > del-files
|
|
|
|
ffind /SB *.pyc >> del-files
|
2003-11-24 19:22:26 +00:00
|
|
|
cat del-files
|
|
|
|
del /sxzy @del-files
|
|
|
|
del del-files
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rem *** bundle it all up
|
|
|
|
cd _distrib_zip
|
|
|
|
tar cvf ../dist/wxPythonWIN32-preview-%1.tar wxPython-%1
|
|
|
|
gzip -9 ../dist/wxPythonWIN32-preview-%1.tar
|
2003-12-29 23:51:30 +00:00
|
|
|
mv ../dist/wxPythonWIN32-preview-%1.tar.gz ../dist/wxPythonWIN32-preview-%1.tgz
|
2003-11-24 19:22:26 +00:00
|
|
|
|
|
|
|
rem *** cleanup
|
|
|
|
cd ..
|
|
|
|
del /sxzy _distrib_zip
|
|
|
|
|
|
|
|
endlocal
|
|
|
|
|
|
|
|
|
|
|
|
|