#!/bin/sh . config/options $SCRIPTS/build toolchain $SCRIPTS/build Python . config/options.python cd $BUILD/$1* $PYTHON setup.py build $PYTHON setup.py install --single-version-externally-managed \ -O1 --skip-build --prefix /usr --root .install find .install -name "*.py" -type f -exec rm -rf "{}" ";" find .install -name "*.pyo" -type f -exec rm -rf "{}" ";" rm -rf .install/usr/lib/python*/site-packages/tests rm -rf .install/usr/bin