2
#----------------------------------------------------------------------
4
if [ ! -d wxPython ]; then
5
echo "Please run this script from the root wxPython directory."
9
VERSION=`python -c "import setup;print setup.VERSION"`
13
mkdir $BUILD/wxPython-$VERSION
15
cp -R demo $BUILD/wxPython-$VERSION
16
cp -R samples $BUILD/wxPython-$VERSION
19
rm -rf `find $BUILD/wxPython-$VERSION -name CVS`
20
rm -rf `find $BUILD/wxPython-$VERSION -name .svn`
21
rm -f `find $BUILD/wxPython-$VERSION -name "*.pyc"`
22
rm -f `find $BUILD/wxPython-$VERSION -name "*.pyo"`
23
rm -f `find $BUILD/wxPython-$VERSION -name ".setup*"`
24
rm -f `find $BUILD/wxPython-$VERSION -name .cvsignore`
25
rm -f `find $BUILD/wxPython-$VERSION -name "core.[0-9]*"`
26
rm -f `find $BUILD/wxPython-$VERSION -name "core"`
27
rm -f `find $BUILD/wxPython-$VERSION -name wxPython`
28
rm -f `find $BUILD/wxPython-$VERSION -name "*.o"`
29
rm -f `find $BUILD/wxPython-$VERSION -name "*.so"`
30
rm -f `find $BUILD/wxPython-$VERSION -name "*~"`
31
rm -f `find $BUILD/wxPython-$VERSION -name ".#*"`
32
rm -f `find $BUILD/wxPython-$VERSION -name "b"`
36
tar cvf ../dist/wxPython-demo-$VERSION.tar wxPython-$VERSION
37
bzip2 -9 -f ../dist/wxPython-demo-$VERSION.tar