Skip to content
Snippets Groups Projects
Commit 5b189916 authored by Esun Kim's avatar Esun Kim
Browse files

Run auditwheel-show to python artifacts

parent 6e86c178
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ RUN /opt/python/cp37-cp37m/bin/pip install cython ...@@ -32,7 +32,7 @@ RUN /opt/python/cp37-cp37m/bin/pip install cython
#################################################### ####################################################
# Install auditwheel with fix for namespace packages # Install auditwheel with fix for namespace packages
RUN git clone https://github.com/pypa/auditwheel /usr/local/src/auditwheel RUN git clone https://github.com/pypa/auditwheel /usr/local/src/auditwheel
RUN cd /usr/local/src/auditwheel && git checkout bf071b38c9fe78b025ea05c78b1cb61d7cb09939 RUN cd /usr/local/src/auditwheel && git checkout 2.1
RUN /opt/python/cp35-cp35m/bin/pip install /usr/local/src/auditwheel RUN /opt/python/cp36-cp36m/bin/pip install /usr/local/src/auditwheel
RUN rm /usr/local/bin/auditwheel RUN rm /usr/local/bin/auditwheel
RUN cd /usr/local/bin && ln -s /opt/python/cp35-cp35m/bin/auditwheel RUN cd /usr/local/bin && ln -s /opt/python/cp36-cp36m/bin/auditwheel
...@@ -32,7 +32,8 @@ RUN /opt/python/cp37-cp37m/bin/pip install cython ...@@ -32,7 +32,8 @@ RUN /opt/python/cp37-cp37m/bin/pip install cython
#################################################### ####################################################
# Install auditwheel with fix for namespace packages # Install auditwheel with fix for namespace packages
RUN git clone https://github.com/pypa/auditwheel /usr/local/src/auditwheel RUN git clone https://github.com/pypa/auditwheel /usr/local/src/auditwheel
RUN cd /usr/local/src/auditwheel && git checkout bf071b38c9fe78b025ea05c78b1cb61d7cb09939 RUN cd /usr/local/src/auditwheel && git checkout 2.1
RUN /opt/python/cp35-cp35m/bin/pip install /usr/local/src/auditwheel RUN /opt/python/cp36-cp36m/bin/pip install /usr/local/src/auditwheel
RUN rm /usr/local/bin/auditwheel RUN rm /usr/local/bin/auditwheel
RUN cd /usr/local/bin && ln -s /opt/python/cp35-cp35m/bin/auditwheel RUN cd /usr/local/bin && ln -s /opt/python/cp36-cp36m/bin/auditwheel
...@@ -79,10 +79,12 @@ ${SETARCH_CMD} "${PYTHON}" tools/distrib/python/grpcio_tools/setup.py bdist_whee ...@@ -79,10 +79,12 @@ ${SETARCH_CMD} "${PYTHON}" tools/distrib/python/grpcio_tools/setup.py bdist_whee
if [ "$GRPC_BUILD_MANYLINUX_WHEEL" != "" ] if [ "$GRPC_BUILD_MANYLINUX_WHEEL" != "" ]
then then
for wheel in dist/*.whl; do for wheel in dist/*.whl; do
"${AUDITWHEEL}" show "$wheel" | tee /dev/stderr | grep \"manylinux1
"${AUDITWHEEL}" repair "$wheel" -w "$ARTIFACT_DIR" "${AUDITWHEEL}" repair "$wheel" -w "$ARTIFACT_DIR"
rm "$wheel" rm "$wheel"
done done
for wheel in tools/distrib/python/grpcio_tools/dist/*.whl; do for wheel in tools/distrib/python/grpcio_tools/dist/*.whl; do
"${AUDITWHEEL}" show "$wheel" | tee /dev/stderr | grep \"manylinux1
"${AUDITWHEEL}" repair "$wheel" -w "$ARTIFACT_DIR" "${AUDITWHEEL}" repair "$wheel" -w "$ARTIFACT_DIR"
rm "$wheel" rm "$wheel"
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment