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