From 83a1f6b67fd43dce1e0e0f4b93f32909536a9817 Mon Sep 17 00:00:00 2001 From: Batuhan Apaydin Date: Wed, 6 Sep 2023 23:12:02 +0300 Subject: [PATCH] add needed packages Signed-off-by: Batuhan Apaydin --- pkg/build/pipelines/python/build-gpep517.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkg/build/pipelines/python/build-gpep517.yaml b/pkg/build/pipelines/python/build-gpep517.yaml index 0bf08cdfc..9bd277914 100644 --- a/pkg/build/pipelines/python/build-gpep517.yaml +++ b/pkg/build/pipelines/python/build-gpep517.yaml @@ -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 \ No newline at end of file