make sure that virtualenv is python2 regardless of host

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
This commit is contained in:
Yuval Lifshitz 2019-07-02 15:30:31 +03:00
parent 7f21aaa8c2
commit 2dfc89b077

View file

@ -34,7 +34,7 @@ elif [ -f /etc/redhat-release ]; then
fi
fi
virtualenv --no-site-packages --distribute virtualenv
virtualenv --python=$(which python2) --no-site-packages --distribute virtualenv
# avoid pip bugs
./virtualenv/bin/pip install --upgrade pip