]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/makedemo
   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"` 
  12 mkdir _distrib_tgz
/wxPython
-$VERSION 
  14 cp -R demo _distrib_tgz
/wxPython
-$VERSION 
  15 cp -R samples _distrib_tgz
/wxPython
-$VERSION 
  18 rm -rf `find _distrib_tgz/wxPython-$VERSION -name CVS` 
  19 rm -f `find  _distrib_tgz/wxPython-$VERSION -name "*.pyc"` 
  20 rm -f `find  _distrib_tgz/wxPython-$VERSION -name .cvsignore` 
  21 rm -f `find  _distrib_tgz/wxPython-$VERSION -name "core.[0-9]*"` 
  22 rm -f `find  _distrib_tgz/wxPython-$VERSION -name "core"` 
  23 rm -f `find  _distrib_tgz/wxPython-$VERSION -name wxPython` 
  24 rm -f `find  _distrib_tgz/wxPython-$VERSION -name "*.o"` 
  25 rm -f `find  _distrib_tgz/wxPython-$VERSION -name "*.so"` 
  26 rm -f `find  _distrib_tgz/wxPython-$VERSION -name "*~"` 
  27 rm -f `find  _distrib_tgz/wxPython-$VERSION -name ".#*"` 
  31 tar cvf ..
/dist
/wxPython
-demo-$VERSION.
tar wxPython
-$VERSION 
  32 gzip -9 -f ..
/dist
/wxPython
-demo-$VERSION.
tar