Skip to content

Commit

Permalink
add needed packages
Browse files Browse the repository at this point in the history
Signed-off-by: Batuhan Apaydin <batuhan.apaydin@chainguard.dev>
  • Loading branch information
developer-guy committed Sep 7, 2023
1 parent 0b60072 commit 83a1f6b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions pkg/build/pipelines/python/build-gpep517.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@ name: Build a Python wheel with gpep517
needs:
packages:
- busybox
- python3
- py3-gpep517
- py3-installer
- py3-wheel

pipeline:
- runs: |
if ! [ -x "$(command -v python3)" ]; then
echo 'Error: Python is not installed.'
exit 1
fi
- runs: |
python3 -m gpep517 build-wheel --wheel-dir dist --output-fd 3 3>&1 >&2
python3 -m installer -d "${{targets.contextdir}}" dist/*.whl
find ${{targets.contextdir}} -name "*.pyc" -exec rm -rf '{}' +
python3 -m installer -d "${{targets.contextdir}}" dist/*.whl

0 comments on commit 83a1f6b

Please sign in to comment.