Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 020f266

Browse files
committed
Fixup travis builds
Ported this from the hpack library.
1 parent 9a6b46c commit 020f266

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis/install.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@ if [[ "$NGHTTP2" = true ]]; then
2222
# Now, download and install nghttp2's latest version.
2323
git clone https://github.com/tatsuhiro-t/nghttp2.git
2424
cd nghttp2
25+
DIR=`pwd`
26+
export PYTHONPATH="$DIR/lib/python${TRAVIS_PYTHON_VERSION}/site-packages"
27+
mkdir -p $PYTHONPATH
2528
autoreconf -i
2629
automake
2730
autoconf
28-
./configure --disable-threads
31+
./configure --disable-threads --prefix=`pwd`
2932
make
30-
sudo make install
33+
make install
3134

3235
# The makefile doesn't install into the active virtualenv. Install again.
3336
cd python

0 commit comments

Comments
 (0)