From 1a94b1bda6f5a4477d1b01db9c108447e40aebec 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 | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkg/build/pipelines/python/build-gpep517.yaml b/pkg/build/pipelines/python/build-gpep517.yaml index 0bf08cdfc..40c063ad9 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 '{}' +