summaryrefslogtreecommitdiff
path: root/init.sh
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2018-11-28 21:56:35 +0300
committerRasmus Andersson <rasmus@notion.se>2018-11-28 21:56:35 +0300
commit2ac5b2d9ff43ad64cb5b49d1b3266661180da8e1 (patch)
tree7a5604cb163cf0599a87829d5e0a093e76603344 /init.sh
parent2065f9dea69fcec0d76eda15205759631cb535d4 (diff)
downloadinter-2ac5b2d9ff43ad64cb5b49d1b3266661180da8e1.tar.xz
Upgrade toolchain to Python 3, fontmake 1.8.0 and numpy 1.15.4
Diffstat (limited to 'init.sh')
-rwxr-xr-xinit.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.sh b/init.sh
index b43cc6580..750ab0838 100755
--- a/init.sh
+++ b/init.sh
@@ -58,16 +58,16 @@ else
require_virtualenv() {
# find pip
- export pip=$(which pip2)
+ export pip=$(which pip3)
if [ "$pip" = "" ]; then
export pip=$(which pip)
fi
echo "using pip: $pip $(pip --version)"
if [ "$pip" = "" ]; then
- echo "Pip for Python 2 not found (tried pip and pip2 in PATH)" >&2
+ echo "Pip for Python 3 not found (tried pip and pip3 in PATH)" >&2
exit 1
- elif ! ($pip --version 2>&1 | grep -q 'ython 2'); then
- echo "Pip for Python 2 not found (found pip for different python version)" >&2
+ elif ! ($pip --version 2>&1 | grep -q 'ython 3'); then
+ echo "Pip for Python 3 not found (found pip for different python version)" >&2
exit 1
fi
# find virtualenv