Skip to content

Commit

Permalink
Fix py-source image for move away from setup.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbartel authored and aaraney committed Aug 6, 2024
1 parent 662c94c commit 420c244
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/py-sources/py-sources.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
################################################################################################################

Expand All @@ -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
################################################################################################################

Expand Down

0 comments on commit 420c244

Please sign in to comment.