TwistedCore: dont create and install bytecode

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-08-16 03:08:11 +02:00
parent aeffc4f2a6
commit d412f0cf33

View File

@ -28,12 +28,9 @@ export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
cd $PKG_BUILD
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
python setup.py install -O1 --skip-build --prefix $ROOT/$TOOLCHAIN
find .install -name "*.py" -exec rm -rf "{}" ";"
find .install -name "*.pyo" -exec rm -rf "{}" ";"
python setup.py install -O0 --no-compile --prefix $ROOT/$TOOLCHAIN
rm -rf .install/usr/bin