kivy-ios/reduce_python.sh
2011-12-06 15:33:48 +01:00

13 lines
317 B
Bash
Executable file

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