Use -p python2 when creating virtualenv

This commit is contained in:
Brad Warren 2015-11-18 13:16:49 -08:00
parent c3e1f1cf65
commit fb844a85a2

View file

@ -23,7 +23,7 @@ mv "dist.$version" "dist.$version.$(date +%s).bak" || true
git tag --delete "$tag" || true
tmpvenv=$(mktemp -d)
virtualenv --no-site-packages $tmpvenv
virtualenv --no-site-packages -p python2 $tmpvenv
. $tmpvenv/bin/activate
# update setuptools/pip just like in other places in the repo
pip install -U setuptools