blob: 1c8f1cb57a24e226807ced3bb81a938bfd07dbc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/bash
set -e -x
cd $(dirname $0)
export PATH=/opt/python/cp38-cp38/bin/:$PATH
curl -fsS -o get-poetry.py https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py
/opt/python/cp38-cp38/bin/python get-poetry.py --preview -y
rm get-poetry.py
for PYBIN in /opt/python/cp3*/bin; do
if [ "$PYBIN" == "/opt/python/cp34-cp34m/bin" ]; then
continue
fi
if [ "$PYBIN" == "/opt/python/cp35-cp35m/bin" ]; then
continue
fi
rm -rf build
"${PYBIN}/python" $HOME/.poetry/bin/poetry build -vvv
done
cd dist
for whl in *.whl; do
auditwheel repair "$whl"
rm "$whl"
done
|