kivy-ios/tools/reduce-python.sh

15 lines
315 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 cd $BUILDROOT/python/lib/python2.7
2011-12-05 10:44:07 +01:00
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 ..
2011-12-06 10:49:14 +01:00
rm -rf pkgconfig || true