kivy-ios/tools/reduce_python.sh
2012-03-08 18:05:47 +01:00

14 lines
315 B
Bash
Executable file

#!/bin/bash
. environment.sh
echo "Starting reducing=========="
try cd $BUILDROOT/python/lib/python2.7
find . -iname '*.pyc' | xargs rm
find . -iname '*.py' | xargs rm
find . -iname 'test*' | xargs rm -rf
rm -rf *test* lib* wsgiref bsddb curses idlelib hotshot || true
rm -rf
try cd ..
rm -rf pkgconfig || true