Skip to content

Commit 0054e74

Browse files
committed
Change wheels building process
1 parent 11ac856 commit 0054e74

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ clean_wheels:
5454
rm -rf wheelhouse/
5555

5656
cp_wheels_x64:
57-
cp wheelhouse/*manylinux1_x86_64.whl dist/
57+
mv wheelhouse/*manylinux1_x86_64.whl dist/
5858

5959
cp_wheels_i686:
60-
cp wheelhouse/*manylinux1_i686.whl dist/
60+
mv wheelhouse/*manylinux1_i686.whl dist/
6161

6262
upload_wheels_x64:
6363
@for f in wheelhouse/*manylinux1_x86_64.whl ; do \

build-wheels.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@ for PYTHON in ${PYTHON_VERSIONS}; do
1717
. /opt/python/venv-${PYTHON}/bin/activate
1818
${POETRY_VENV}/bin/poetry install -v
1919
${POETRY_VENV}/bin/poetry build -v
20-
mv dist/*-${RELEASE}-*.whl wheelhouse/
20+
mv dist/*-${RELEASE}-*-linux_*.whl wheelhouse/
2121
deactivate
2222
cd -
2323
done
2424

2525
echo "Bundle external shared libraries into the wheels"
26-
for whl in /io/wheelhouse/pendulum-${RELEASE}-*.whl; do
27-
auditwheel repair $whl -w /io/wheelhouse/
28-
rm -f $whl
26+
for whl in /io/wheelhouse/pendulum-${RELEASE}-*-linux_*.whl; do
27+
auditwheel repair "$whl" -w /io/wheelhouse/
2928
done
3029

3130
echo "Install packages and test"

0 commit comments

Comments
 (0)