Skip to content

Commit 473003e

Browse files
committed
fix twisted recipe
1 parent 51d961e commit 473003e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

distribute.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ function push_arm() {
224224
export MAKE="make -j5"
225225
export READELF="$TOOLCHAIN_PREFIX-readelf"
226226

227+
# This will need to be updated to support Python versions other than 2.7
228+
export BUILDLIB_PATH="$BUILD_hostpython/build/lib.linux-`uname -m`-2.7/"
229+
227230
# Use ccache ?
228231
which ccache &>/dev/null
229232
if [ $? -eq 0 ]; then

recipes/twisted/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function build_twisted() {
2727
export LDFLAGS="$LDFLAGS -L$LIBS_PATH"
2828
export LDSHARED="$LIBLINK"
2929

30-
export PYTHONPATH=$BUILD_hostpython/Lib/site-packages:$BUILD_hostpython/build/lib.linux-x86_64-2.7
30+
export PYTHONPATH=$SITEPACKAGES_PATH:$BUILDLIB_PATH
3131

3232
# fake try to be able to cythonize generated files
3333
$HOSTPYTHON setup.py build_ext

0 commit comments

Comments
 (0)