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,6 +9,4 @@ $SCRIPTS/build Python
cd $BUILD/$1* cd $BUILD/$1*
$PYTHON setup.py install --prefix /usr --root .install $PYTHON setup.py bdist_egg --exclude-source-files
find .install -name "*.py" -exec rm -rf "{}" ";"

View File

@ -4,4 +4,8 @@
$SCRIPTS/install Python $SCRIPTS/install Python
cp -PR $BUILD/$1*/.install/* $INSTALL . config/options.python
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

View File

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

View File

@ -4,8 +4,8 @@
$SCRIPTS/install Python $SCRIPTS/install Python
BUILD_DIR=`ls -d $BUILD/$1*`
. config/options.python . 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

View File

@ -3,17 +3,9 @@
. config/options . config/options
$SCRIPTS/build toolchain $SCRIPTS/build toolchain
$SCRIPTS/build Python
. config/options.python . config/options.python
cd $BUILD/$1* cd $BUILD/$1*
$PYTHON setup.py bdist_egg --exclude-source-files
$PYTHON setup.py build
$PYTHON setup.py install -O1 --skip-build --single-version-externally-managed --root $SYSROOT_PREFIX --prefix /usr
$PYTHON setup.py install -O1 --skip-build --single-version-externally-managed --root ./.install --prefix /usr
find .install -name "*.py" -exec rm -rf "{}" ";"
find .install -name "*.pyo" -exec rm -rf "{}" ";"
rm -rf .install/usr/lib/python*/site-packages/zope/interfaces*/tests

View File

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