bumpver/travis_build_wheel.sh

15 lines
433 B
Bash
Raw Normal View History

2018-09-05 09:37:37 +02:00
#!/bin/bash
2018-09-05 09:57:52 +02:00
set -e
2018-09-05 20:27:53 +02:00
2018-09-05 21:54:34 +02:00
if [[ $(which python3.6) ]]; then
python3.6 --version
2018-09-05 09:37:37 +02:00
else
curl -sSf -o python-3.6.tar.bz2 https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/16.04/x86_64/python-3.6.tar.bz2
2018-09-05 21:54:34 +02:00
tar xjf python-3.6.tar.bz2 --directory /
source $HOME/virtualenv/python3.6.0/bin/activate
2018-09-05 09:37:37 +02:00
fi
2018-09-05 21:54:34 +02:00
python3.6 --version
python3.6 -m pip install setuptools lib3to6
python3.6 setup.py bdist_wheel --python-tag=py2.py3