Skip to content

Commit

Permalink
Set PYTHONPATH before running pip
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Jul 13, 2015
1 parent ccc751b commit 01ab8d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ install_pluggable_transports() {
install_pluggable_transport_deps
(
set -x
$sh_c 'pip install obfsproxy fteproxy'
PYTHONPATH=$PYTHONPATH $sh_c 'pip install obfsproxy fteproxy'
)
install_obfs4proxy
install_meek
Expand All @@ -258,7 +258,7 @@ case "$lsb_dist" in
$sh_c 'yum -y groupinstall "Development tools"'
$sh_c 'yum -y install zlib-devel bzip2-devel openssl-devel sqlite-devel libpcap-devel libffi-devel libevent-devel libgeoip-devel tor'
install_pip
$sh_c 'pip install ooniprobe'
PYTHONPATH=$PYTHONPATH $sh_c 'pip install ooniprobe'
)

install_pluggable_transports
Expand Down Expand Up @@ -311,7 +311,7 @@ case "$lsb_dist" in
(
set -x
$sh_c 'apt-get install -y -q curl git-core python python-dev python-setuptools build-essential libdumbnet1 python-dumbnet python-libpcap tor tor-geoipdb libgeoip-dev libpcap0.8-dev libssl-dev libffi-dev libdumbnet-dev'
$sh_c 'pip install ooniprobe'
PYTHONPATH=$PYTHONPATH $sh_c 'pip install ooniprobe'
)
fi

Expand Down

0 comments on commit 01ab8d0

Please sign in to comment.