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