kivy-ios/reduce_python.sh

12 lines
291 B
Bash
Raw Normal View History

2011-12-06 11:42:37 +01:00
#!/bin/bash
2011-12-05 10:44:07 +01:00
echo "Starting reducing=========="
2011-12-06 11:42:37 +01:00
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
popd
rm -rf pkgconfig || true