#!/bin/sh . config/options $SCRIPTS/build toolchain $SCRIPTS/build Python $SCRIPTS/build sqlite . config/options.python cd $PKG_BUILD $PYTHON setup.py install --prefix /usr --root .install find .install -name "*.py" -type f -exec rm -rf "{}" ";" find .install -name "*.pyo" -type f -exec rm -rf "{}" ";" find .install -name "tests" -type d -exec rm -rf "{}" ";" rm -rf .install/usr/bin rm -rf .install/usr/pysqlite2-doc rm -rf .install/usr/lib/python*/site-packages/pysqlite2/test