From 420c244457cead460cee882899d3fd52883f50d8 Mon Sep 17 00:00:00 2001 From: Robert Bartel Date: Tue, 6 Aug 2024 11:19:40 -0400 Subject: [PATCH] Fix py-source image for move away from setup.py. --- docker/py-sources/py-sources.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/py-sources/py-sources.Dockerfile b/docker/py-sources/py-sources.Dockerfile index 9b7de5bb8..91e7b1cb1 100644 --- a/docker/py-sources/py-sources.Dockerfile +++ b/docker/py-sources/py-sources.Dockerfile @@ -40,7 +40,7 @@ ARG scheduler_package_name # Set this so script below will not run logic that only applies to when in a full Git repo directory tree ENV OUT_OF_GIT_REPO=true RUN for p in `ls python/lib`; do \ - [ -e python/lib/${p}/setup.py ] && ./scripts/dist_package.sh --sys python/lib/${p} && mv python/lib/${p}/dist/*.whl /DIST/.; \ + [ -e python/lib/${p}/pyproject.toml ] && ./scripts/dist_package.sh --sys python/lib/${p} && mv python/lib/${p}/dist/*.whl /DIST/.; \ done ################################################################################################################ @@ -57,7 +57,7 @@ ENV PYTHON_PACKAGE_DIST_NAME_SCHEDULER_SERVICE=${scheduler_service_package_dist_ ENV OUT_OF_GIT_REPO=true # Build service dist packages RUN for p in `ls python/services`; do \ - [ -e python/services/${p}/setup.py ] && ./scripts/dist_package.sh --sys python/services/${p} && mv python/services/${p}/dist/*.whl /DIST/. ; \ + [ -e python/services/${p}/pyproject.toml ] && ./scripts/dist_package.sh --sys python/services/${p} && mv python/services/${p}/dist/*.whl /DIST/. ; \ done ################################################################################################################