build more programs at egg files

This commit is contained in:
Stephan Raue
2009-05-09 03:56:17 +02:00
parent 34bebff245
commit 73d8cb0c50
6 changed files with 17 additions and 28 deletions

View File

@@ -9,13 +9,4 @@ $SCRIPTS/build 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
$PYTHON setup.py bdist_egg --exclude-source-files

View File

@@ -4,8 +4,8 @@
$SCRIPTS/install Python
BUILD_DIR=`ls -d $BUILD/$1*`
. config/options.python
cp -PR $BUILD_DIR/.install/* $INSTALL
PKG_SRC_DIR=`ls -d $BUILD/$1[-_][0-9]*`
$TOOLCHAIN/bin/easy_install --exclude-scripts --zip-ok --no-deps --quiet --prefix=$INSTALL/usr $PKG_SRC_DIR/dist/*.egg