From 36a94f558b8976a5579b141dec4b5b86c928e04c Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Tue, 26 Aug 2025 16:45:04 -0700 Subject: [PATCH] Ensure licenses are included in binary wheels ... for liberasurecode and isa-l. Change-Id: I676fda01ee10206b33fb369dae9eefd2c2546c7b Signed-off-by: Tim Burke --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1fca26a..904e5d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,4 +58,7 @@ RUN cd /opt/src/liberasurecode*/ && \ make install COPY . /opt/src/pyeclib/ +# Ensure licenses for liberasurecode and isa-l are included in the packed wheel +RUN cp /opt/src/liberasurecode*/COPYING /opt/src/pyeclib/LICENSE-liberasurecode && \ + cp /opt/src/isa-l-*/LICENSE /opt/src/pyeclib/LICENSE-isal ENTRYPOINT ["/bin/sh", "-c", "/opt/python/${PYTHON_VERSION}/bin/python3 /opt/src/pyeclib/pack_wheel.py /opt/src/pyeclib/ --repair --so-suffix=${SO_SUFFIX} --wheel-dir=/output --require-isal"]