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
|
|
|
|
|
|
|
|
echo "python3.7 path: $(which python3.7)"
|
2018-09-05 09:57:52 +02:00
|
|
|
|
|
|
|
|
if [[ $(which python3.7) ]]; then
|
2018-09-05 09:37:37 +02:00
|
|
|
python3.7 --version
|
|
|
|
|
else
|
|
|
|
|
curl -sSf -o python-3.7.tar.bz2 https://s3.amazonaws.com/travis-python-archives/binaries/ubuntu/16.04/x86_64/python-3.7.tar.bz2
|
|
|
|
|
tar xjf python-3.7.tar.bz2 --directory /
|
|
|
|
|
source $HOME/virtualenv/python3.7.0/bin/activate
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
python3.7 --version
|
|
|
|
|
python3.7 -m pip install lib3to6
|
|
|
|
|
python3.7 setup.py bdist_wheel --python-tag=py2.py3
|