Skip to content

Commit b956f59

Browse files
committed
Add auditwheel repair step for Linux wheels to satisfy PyPI manylinux policy
1 parent 69b4d97 commit b956f59

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/conda-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ jobs:
7070
shell: bash -l {0}
7171
run: |
7272
python -m build --wheel --no-isolation
73+
if [ "$(uname)" == "Linux" ]; then
74+
python -m pip install auditwheel
75+
auditwheel repair dist/*.whl -w wheelhouse/
76+
rm -rf dist/
77+
mv wheelhouse/* dist/
78+
fi
7379
WHEEL_PATH=$(ls dist/*.whl)
7480
python -m pip install "${WHEEL_PATH}[all,test]"
7581

0 commit comments

Comments
 (0)