mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Revert "yenc: convert to python egg package"
This reverts commit 4a6bdd47b826ab07cf717fb0439883551f3bceb6.
This commit is contained in:
parent
99a1e3cfa0
commit
12eb537e2b
@ -27,4 +27,10 @@ export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
|
||||
|
||||
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
|
||||
|
||||
find .install -name "*.py" -exec rm -rf "{}" ";"
|
||||
find .install -name "*.pyo" -exec rm -rf "{}" ";"
|
||||
|
||||
rm -rf .install/usr/bin
|
||||
|
@ -22,9 +22,4 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
PKG_SRC_DIR=`ls -d $PKG_BUILD`
|
||||
|
||||
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
|
||||
cp -PR $PKG_BUILD/.install/* $INSTALL
|
||||
|
Loading…
x
Reference in New Issue
Block a user