Skip to content

Commit

Permalink
Fix installing tox
Browse files Browse the repository at this point in the history
Our scripting automatically installs tox in pyenv so you don't have to
install tox manually or system-wide. Unfortunately it wasn't working:
the installed tox doesn't appear on your PATH until you run a
`pyenv rehash`
  • Loading branch information
seanh committed May 26, 2020
1 parent 3ba6820 commit 86cce98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/install-python
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@ do
if ! "$(pyenv root)/versions/$python_version/bin/tox" --version > /dev/null 2>&1
then
"$(pyenv root)/versions/$python_version/bin/pip" install --quiet --disable-pip-version-check tox > /dev/null
pyenv rehash
fi
done < .python-version

0 comments on commit 86cce98

Please sign in to comment.