#!/bin/sh

. config/options $1

PKG_SRC_DIR=`ls -d $PKG_BUILD`

PYTHON_IMAGE_DIR="`ls -d $INSTALL/usr/lib/python*`"
export PYTHONPATH="$PYTHON_IMAGE_DIR/site-packages"

$TOOLCHAIN/bin/easy_install --exclude-scripts --zip-ok --no-deps --quiet --prefix=$INSTALL/usr $PKG_SRC_DIR/dist/*.egg
