Build Update

One more update to make the build_wheels scripts the same.
pull/12/head
John Safranek 2019-09-27 16:09:52 -07:00
parent 2982c718a0
commit fc88398f8b
1 changed files with 4 additions and 7 deletions

View File

@ -2,22 +2,19 @@ set -e
set +x
for VER in 2.7 3.4 3.5 3.6 3.7; do
PYTHON=python${VER}
PIP=pip${VER}
VENV=venv_${VER}
PIP="pip${VER}"
PYTHON="python${VER}"
VENV="venv_${VER}"
# update pip for newer TLS support
curl https://bootstrap.pypa.io/get-pip.py | ${PYTHON}
${PIP} install --upgrade pip
${PIP} install -r requirements/setup.txt
# update virtualenv
${PIP} install --upgrade virtualenv
virtualenv -p ${PYTHON} ${VENV}
. ./${VENV}/bin/activate
# install cffi module
${PYTHON} -m pip install cffi
${PYTHON} setup.py bdist_wheel
${PIP} install -r requirements/test.txt
set +e