From 2a166a40c73ca17e4fff43de24ee8bfd4b8d4b46 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 16 Aug 2011 03:08:36 +0200 Subject: [PATCH] TwistedWeb: dont create and install bytecode Signed-off-by: Stephan Raue --- packages/python/web/TwistedWeb/build | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/python/web/TwistedWeb/build b/packages/python/web/TwistedWeb/build index d1f36672eb..8dd750ca73 100755 --- a/packages/python/web/TwistedWeb/build +++ b/packages/python/web/TwistedWeb/build @@ -28,13 +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/lib/python*/site-packages/twisted/web/test -