kivy-ios/tools/reduce-python.sh
Mathieu Virbel 2eb7ce33ff renmae
2012-03-08 18:09:31 +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