Workaround to pip9 TLS1 certificate: manually bootstrap pip in macos

build
pull/2/head
Daniele Lacamera 2019-03-28 08:14:18 +01:00
parent c688ab173e
commit c836b8c0d3
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
set -e
set +x
for PYVERSION in 2.7 3.5 3.6 3.7; do
for PYVERSION in 2.7 3.6 3.7; do
virtualenv -p /Library/Frameworks/Python.framework/Versions/${PYVERSION}/bin/python${PYVERSION} venv_${PYVERSION}
. ./venv_${PYVERSION}/bin/activate
pip install pip --upgrade
curl https://bootstrap.pypa.io/get-pip.py | python
pip install -r requirements/setup.txt
python setup.py bdist_wheel
pip install -r requirements/test.txt