mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
TwistedWeb: dont create and install bytecode
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
222c4336f9
commit
2a166a40c7
@ -28,13 +28,9 @@ export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
|
|||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
|
||||||
python setup.py build --cross-compile
|
python setup.py build --cross-compile
|
||||||
python setup.py install -O1 --skip-build --prefix /usr --root .install
|
python setup.py install -O0 --no-compile --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 -O0 --no-compile --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/web/test
|
rm -rf .install/usr/lib/python*/site-packages/twisted/web/test
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user