pycrypto: cleanup build and install scripts, dont use 'easy_install', dont depend on 'distribute'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-05-24 17:06:18 +02:00
parent 97de262281
commit 2cdf2cda52
2 changed files with 3 additions and 7 deletions

View File

@ -27,4 +27,5 @@ export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
cd $PKG_BUILD cd $PKG_BUILD
python setup.py build --cross-compile bdist_egg --exclude-source-files python setup.py build --cross-compile
python setup.py install --root=./.install --prefix=/usr

View File

@ -22,9 +22,4 @@
. config/options $1 . config/options $1
PKG_SRC_DIR=`ls -d $PKG_BUILD` cp -PR $PKG_BUILD/.install/* $INSTALL
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