summaryrefslogtreecommitdiffstats
path: root/build-wheels.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-01-30 07:57:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-01-30 07:57:29 +0000
commita003430ded2dbfbfb48acd3c17f143cbafeee60a (patch)
tree9016b0b904b32c46542f48de704b3e536b90e1af /build-wheels.sh
parentInitial commit. (diff)
downloadpendulum-a003430ded2dbfbfb48acd3c17f143cbafeee60a.tar.xz
pendulum-a003430ded2dbfbfb48acd3c17f143cbafeee60a.zip
Adding upstream version 2.1.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xbuild-wheels.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/build-wheels.sh b/build-wheels.sh
new file mode 100755
index 0000000..af63d1b
--- /dev/null
+++ b/build-wheels.sh
@@ -0,0 +1,24 @@
+#!/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
+ 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