install auditwheel inside venv
This commit is contained in:
parent
7e0aabe62c
commit
5dbdfb2d4c
|
@ -60,10 +60,9 @@ stages:
|
||||||
poetry
|
poetry
|
||||||
py3-pip
|
py3-pip
|
||||||
patchelf
|
patchelf
|
||||||
- pip install auditwheel
|
|
||||||
- cd api ; poetry export --without-hashes > ../requirements.txt ; cd ..
|
- cd api ; poetry export --without-hashes > ../requirements.txt ; cd ..
|
||||||
- python -m venv venv
|
- python -m venv venv
|
||||||
- venv/bin/pip install --upgrade pip wheel
|
- venv/bin/pip install --upgrade pip wheel auditwheel
|
||||||
- venv/bin/pip debug --verbose
|
- venv/bin/pip debug --verbose
|
||||||
script:
|
script:
|
||||||
# build basic wheels
|
# build basic wheels
|
||||||
|
@ -89,7 +88,7 @@ stages:
|
||||||
# prepare musllinux universal wheels
|
# prepare musllinux universal wheels
|
||||||
- |
|
- |
|
||||||
for wheel in wheelhouse/* ; do
|
for wheel in wheelhouse/* ; do
|
||||||
auditwheel repair --strip "$wheel" || true
|
venv/bin/auditwheel repair --strip "$wheel" || true
|
||||||
done
|
done
|
||||||
# remove basic wheels as we have universal wheels now
|
# remove basic wheels as we have universal wheels now
|
||||||
- rm -f wheelhouse/*-linux*.whl wheelhouse/*.linux*.whl
|
- rm -f wheelhouse/*-linux*.whl wheelhouse/*.linux*.whl
|
||||||
|
|
Loading…
Reference in New Issue