mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
build more programs at egg files
This commit is contained in:
parent
34bebff245
commit
73d8cb0c50
@ -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 "{}" ";"
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user