fix reduce_python when used in standalone mode
This commit is contained in:
parent
75cdf0110a
commit
6bcb741ebb
1 changed files with 4 additions and 2 deletions
|
@ -1,11 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
. environment.sh
|
||||
|
||||
echo "Starting reducing=========="
|
||||
|
||||
pushd $BUILDROOT/python/lib/python2.7
|
||||
try pushd $BUILDROOT/python/lib/python2.7
|
||||
find . -iname '*.pyc' | xargs rm
|
||||
find . -iname '*.py' | xargs rm
|
||||
find . -iname 'test_*' | xargs rm -rf
|
||||
rm -rf *test* config lib* wsgiref bsddb curses idlelib hotshot || true
|
||||
popd
|
||||
try popd
|
||||
rm -rf pkgconfig || true
|
||||
|
|
Loading…
Add table
Reference in a new issue