Merge pull request #287 from yuvalif/force_python2_in_virtualenv

make sure that virtualenv is python2 regardless of host
This commit is contained in:
Ali Maredia 2019-07-02 17:32:40 -04:00 committed by GitHub
commit 68033a97a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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