Skip to content

Commit

Permalink
Don't assume some bin dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 13, 2017
1 parent c7ead69 commit bda80e0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis/replace-pypy3
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ deactivate
url=https://bitbucket.org/squeaky/portable-pypy/downloads/pypy3.3-5.5-alpha-20161013-linux_x86_64-portable.tar.bz2
wget $url -O - | tar -jx -C $HOME
echo 'Setting up aliases...'
export PATH=$HOME/pypy3.3-5.5-alpha-20161013-linux_x86_64-portable/bin/:$PATH
ln -s ~/pypy3.3-5.5-alpha-20161013-linux_x86_64-portable/bin/pypy3.3 ~/bin/python
PYPY_ROOT=$HOME/pypy3.3-5.5-alpha-20161013-linux_x86_64-portable
export PATH=$PYPY_ROOT/bin/:$PATH
ln -s $PYPY_ROOT/bin/pypy3.3 $PYPY_ROOT/bin/python
echo 'Setting up pip...'
python -m ensurepip
ln -s ~/pypy3.3-5.5-alpha-20161013-linux_x86_64-portable/bin/pip3.3 ~/bin/pip
ln -s $PYPY_ROOT/bin/pip3.3 $PYPY_ROOT/bin/pip

0 comments on commit bda80e0

Please sign in to comment.