kivy-ios/reduce_python.sh

14 lines
317 B
Bash
Raw Normal View History

2011-12-06 11:42:37 +01:00
#!/bin/bash
2011-12-05 10:44:07 +01:00
. environment.sh
2011-12-05 10:44:07 +01:00
echo "Starting reducing=========="
try pushd $BUILDROOT/python/lib/python2.7
2011-12-05 10:44:07 +01:00
find . -iname '*.pyc' | xargs rm
find . -iname '*.py' | xargs rm
2011-12-06 10:49:14 +01:00
find . -iname 'test_*' | xargs rm -rf
rm -rf *test* config lib* wsgiref bsddb curses idlelib hotshot || true
try popd
2011-12-06 10:49:14 +01:00
rm -rf pkgconfig || true