File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,10 +64,7 @@ target/
6464.python-version
6565
6666# pyenv dist build
67- venv_2.7
68- venv_3.4
69- venv_3.5
70- venv_3.6
67+ venv_ *
7168
7269# code editor preferences
7370.vscode
Original file line number Diff line number Diff line change 99 script :
1010 - ./make/manylinux1/build_wheels.sh
1111 - os : osx
12- osx_image : xcode9.4
12+ osx_image : xcode8.3
1313 script :
1414 - ./make/osx/build_wheels.sh
1515
Original file line number Diff line number Diff line change 11set -e
22set +x
33
4- for PYVERSION in 2.7 3.4 3.5 3.6; do
5- PYTHONBIN=/Library/Frameworks/Python.framework/Versions/ ${PYVERSION} /bin
6- PYTHONEXE= ${PYTHONBIN} / python${PYVERSION}
7- export PATH= " ${PYTHONBIN} " : $PATH
4+ for VER in 2.7 3.4 3.5 3.6 3.7 ; do
5+ PIP= " pip ${VER} "
6+ PYTHON= " python${VER} "
7+ VENV= " venv_ ${VER} "
88
99 # update pip for newer TLS support
10- curl https://bootstrap.pypa.io/get-pip.py | ${PYTHONEXE }
11- " ${PYTHONBIN} /pip " install --upgrade pip
10+ curl https://bootstrap.pypa.io/get-pip.py | ${PYTHON }
11+ ${PIP} install -r requirements/setup.txt
1212
1313 # update virtualenv
14- ${PYTHONEXE} -m pip install virtualenv
14+ ${PIP} install --upgrade virtualenv
15+ virtualenv -p ${PYTHON} ${VENV}
16+ . ./${VENV} /bin/activate
1517
16- virtualenv -p ${PYTHONEXE} venv_${PYVERSION}
17- . ./venv_${PYVERSION} /bin/activate
18-
19- # install cffi module
20- ${PYTHONEXE} -m pip install cffi
21-
22- ${PYTHONEXE} setup.py bdist_wheel
23- " ${PYTHONBIN} /pip" install -r requirements/test.txt
18+ ${PYTHON} setup.py bdist_wheel
19+ ${PIP} install -r requirements/test.txt
2420 set +e
25- " ${PYTHONBIN} /pip " uninstall -y wolfssl
21+ ${PIP} uninstall -y wolfssl
2622 set -e
27- " ${PYTHONBIN} /pip " install wolfssl --no-index -f dist
23+ ${PIP} install wolfssl --no-index -f dist
2824 rm -rf tests/__pycache__
2925 py.test tests
3026 deactivate
You can’t perform that action at this time.
0 commit comments