mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Revert "TwistedConch: convert to python egg package"
This reverts commit 1284cef02744aeb75f8007a5cbeb0230fcd4cc98.
This commit is contained in:
parent
8eaa40f921
commit
4650a98ab2
@ -27,7 +27,13 @@ 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 -O1 --skip-build --prefix /usr --root .install
|
||||||
|
|
||||||
# install to toolchain because its needed for other twisted modules
|
# install to toolchain because its needed for other twisted modules
|
||||||
python setup.py install -O1 --skip-build --prefix $ROOT/$TOOLCHAIN
|
python setup.py install -O1 --skip-build --prefix $ROOT/$TOOLCHAIN
|
||||||
|
|
||||||
|
find .install -name "*.py" -exec rm -rf "{}" ";"
|
||||||
|
find .install -name "*.pyo" -exec rm -rf "{}" ";"
|
||||||
|
|
||||||
|
rm -rf .install/usr/lib/python*/site-packages/twisted/names/test
|
||||||
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user