From 4c8cb5a8618417e0a89c5f0d0857fdc6f7fb1a3d Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 25 Aug 2010 22:38:26 +0200 Subject: [PATCH] TwistedCore: fix install Signed-off-by: Stephan Raue --- packages/python/web/TwistedCore/build | 3 +++ packages/python/web/TwistedCore/install | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/python/web/TwistedCore/build b/packages/python/web/TwistedCore/build index 59716faeb3..d32ecd9874 100755 --- a/packages/python/web/TwistedCore/build +++ b/packages/python/web/TwistedCore/build @@ -10,5 +10,8 @@ $PYTHON setup.py build $PYTHON setup.py install -O1 --skip-build --root $SYSROOT_PREFIX --prefix /usr $PYTHON setup.py install -O1 --skip-build --root ./.install --prefix /usr +rm -rf .install/usr/bin + find .install -name "*.py" -exec rm -rf "{}" ";" find .install -name "*.pyo" -exec rm -rf "{}" ";" + diff --git a/packages/python/web/TwistedCore/install b/packages/python/web/TwistedCore/install index cb62490d87..48109597bd 100755 --- a/packages/python/web/TwistedCore/install +++ b/packages/python/web/TwistedCore/install @@ -6,4 +6,7 @@ BUILD_DIR=`ls -d $PKG_BUILD` . config/options.python -cp -PR $BUILD_DIR/.install/* $INSTALL \ No newline at end of file +cp -PR $BUILD_DIR/.install/* $INSTALL + +mkdir -p $INSTALL/usr/bin + cp $BUILD_DIR/bin/twistd $INSTALL/usr/bin \ No newline at end of file