Skip to content

Commit ea42975

Browse files
committed
Merge pull request kivy#282 from kived/twisted-fixes
fix twisted recipe
2 parents 629ec1c + 473003e commit ea42975

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
@@ -230,6 +230,9 @@ function push_arm() {
230230
export MAKE="make -j5"
231231
export READELF="$TOOLCHAIN_PREFIX-readelf"
232232

233+
# This will need to be updated to support Python versions other than 2.7
234+
export BUILDLIB_PATH="$BUILD_hostpython/build/lib.linux-`uname -m`-2.7/"
235+
233236
# Use ccache ?
234237
which ccache &>/dev/null
235238
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)